git-bundle: handle thin packs in subcommand "unbundle"
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 9 Mar 2007 02:48:27 +0000 (03:48 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 9 Mar 2007 06:57:51 +0000 (22:57 -0800)
The patch to make the packs in a bundle thin forgot the receiving side.
D'oh.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-bundle.c

index 616335819162be2163c655490724fb40f58f127f..33b533f8219c8922ca01a5fad21a64c5401fecae 100644 (file)
@@ -374,7 +374,8 @@ static int create_bundle(struct bundle_header *header, const char *path,
 static int unbundle(struct bundle_header *header, int bundle_fd,
                int argc, const char **argv)
 {
-       const char *argv_index_pack[] = {"index-pack", "--stdin", NULL};
+       const char *argv_index_pack[] = {"index-pack",
+               "--fix-thin", "--stdin", NULL};
        int pid, status, dev_null;
 
        if (verify_bundle(header, 0))