From: Lukas Sandström Date: Fri, 18 Nov 2005 21:53:24 +0000 (+0100) Subject: Fix a bug in get_all_permutations. X-Git-Tag: v0.99.9k~1^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cb022e0525abb831d01bf581906e67257933d38;p=git.git Fix a bug in get_all_permutations. This line was missing in the previous patch for some reason. Signed-off-by: Lukas Sandström Signed-off-by: Junio C Hamano --- diff --git a/pack-redundant.c b/pack-redundant.c index 36556092c..3e3f33a80 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; }