aboutsummaryrefslogtreecommitdiff
path: root/builtin-bundle.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-03-09 03:48:27 +0100
committerJunio C Hamano <junkio@cox.net>2007-03-08 22:57:51 -0800
commit263703fff38d252907d1c7ae9977038715e2e22f (patch)
tree436865d80b7c4bb7a324f584cc39ff52a9475453 /builtin-bundle.c
parent9e64d109f905afb225f48409c4e0e068b2203332 (diff)
downloadgit-263703fff38d252907d1c7ae9977038715e2e22f.tar.gz
git-263703fff38d252907d1c7ae9977038715e2e22f.tar.xz
git-bundle: handle thin packs in subcommand "unbundle"
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>
Diffstat (limited to 'builtin-bundle.c')
-rw-r--r--builtin-bundle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-bundle.c b/builtin-bundle.c
index 616335819..33b533f82 100644
--- a/builtin-bundle.c
+++ b/builtin-bundle.c
@@ -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))