summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Sandström <lukass@etek.chalmers.se>2005-11-18 21:53:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-18 22:25:06 (GMT)
commit0cb022e0525abb831d01bf581906e67257933d38 (patch)
tree51047d78cbbff5596bf4d1c9e2d393d38fe63b80
parent2e67a5f449f4026097494569f871d79bf263ab28 (diff)
downloadgit-0cb022e0525abb831d01bf581906e67257933d38.zip
git-0cb022e0525abb831d01bf581906e67257933d38.tar.gz
git-0cb022e0525abb831d01bf581906e67257933d38.tar.bz2
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 3655609..3e3f33a 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;
}