Skip to content

Commit

Permalink
git-bundle: handle thin packs in subcommand "unbundle"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Mar 9, 2007
1 parent 9e64d10 commit 263703f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin-bundle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 263703f

Please sign in to comment.