Code

Fix a bug in get_all_permutations.
authorLukas Sandström <lukass@etek.chalmers.se>
Fri, 18 Nov 2005 21:53:24 +0000 (22:53 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 18 Nov 2005 22:25:06 +0000 (14:25 -0800)
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

index 36556092c9210c9623eefe3b02841e61ffb26651..3e3f33a80e9786a4330beb0afdfe869d355c8275 100644 (file)
@@ -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;
        }