summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Lukas Sandström <lukass@etek.chalmers.se>2005-11-18 22:53:24 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-18 14:25:06 -0800
commit0cb022e0525abb831d01bf581906e67257933d38 (patch)
tree51047d78cbbff5596bf4d1c9e2d393d38fe63b80
parentCygwin *might* be helped with NO_MMAP (diff)
downloadtgif-0cb022e0525abb831d01bf581906e67257933d38.tar.xz
Fix a bug in get_all_permutations.
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>
-rw-r--r--pack-redundant.c1
1 files changed, 1 insertions, 0 deletions
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;
}