From 0cb022e0525abb831d01bf581906e67257933d38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Sandstr=C3=B6m?= <lukass@etek.chalmers.se>
Date: Fri, 18 Nov 2005 22:53:24 +0100
Subject: [PATCH] Fix a bug in get_all_permutations.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This line was missing in the previous patch for some reason.

Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 pack-redundant.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pack-redundant.c b/pack-redundant.c
index 36556092c9..3e3f33a80e 100644
--- a/pack-redundant.c
+++ b/pack-redundant.c
@@ -291,6 +291,7 @@ struct pll * get_all_permutations(struct pack_list *list)
 		hint[0] = new_pll;
 		new_pll->next = NULL;
 		new_pll->pl = list;
+		new_pll->pl_size = 1;
 		return new_pll;
 	}