X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=bundle.c;h=717a712e9a6c125a684cd4ee39ce5cbfaecef91d;hb=d1dfc016d868322638c87a23a624651874a107c2;hp=e4b2aa9c4a2a7fb52121828343aa27ab47d17279;hpb=c5764c095c2a563b657c1bd8f4a3e47bdeee14b0;p=git.git diff --git a/bundle.c b/bundle.c index e4b2aa9c4..717a712e9 100644 --- a/bundle.c +++ b/bundle.c @@ -234,7 +234,7 @@ int create_bundle(struct bundle_header *header, const char *path, rls.git_cmd = 1; if (start_command(&rls)) return -1; - rls_fout = fdopen(rls.out, "r"); + rls_fout = xfdopen(rls.out, "r"); while (fgets(buffer, sizeof(buffer), rls_fout)) { unsigned char sha1[20]; if (buffer[0] == '-') { @@ -351,7 +351,7 @@ int create_bundle(struct bundle_header *header, const char *path, /* write pack */ argv_pack[0] = "pack-objects"; - argv_pack[1] = "--all-progress"; + argv_pack[1] = "--all-progress-implied"; argv_pack[2] = "--stdout"; argv_pack[3] = "--thin"; argv_pack[4] = NULL;