[PATCH 1/3] git-bundle: handle thin packs in subcommand "unbundle"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 9, 2007, 02:48 UTC
- Message-ID
- <Pine.LNX.4.63.0703090347430.22628@wbgn013.biozentrum.uni-wuerzburg.de>
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> ---
This starts a series of three brown paper bag patches.
builtin-bundle.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/builtin-bundle.c b/builtin-bundle.c index 6163358..33b533f 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))
-- 1.5.0.3.2601.gc1e5-dirty