aboutsummaryrefslogtreecommitdiff
path: root/pack-redundant.c
diff options
context:
space:
mode:
authorLukas Sandström <lukass@etek.chalmers.se>2005-11-18 22:53:24 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-18 14:25:06 -0800
commit0cb022e0525abb831d01bf581906e67257933d38 (patch)
tree51047d78cbbff5596bf4d1c9e2d393d38fe63b80 /pack-redundant.c
parent2e67a5f449f4026097494569f871d79bf263ab28 (diff)
downloadgit-0cb022e0525abb831d01bf581906e67257933d38.tar.gz
git-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>
Diffstat (limited to 'pack-redundant.c')
-rw-r--r--pack-redundant.c1
1 files changed, 1 insertions, 0 deletions
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;
}