X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Fsend-pack.c;h=2cd1c40b70890732905ad9433e452aa9a9548533;hb=477039c53c456273d59a1d5427fa6eb2deaaa239;hp=8aa303158b2461c9272c8ca5b094149a54cc35d2;hpb=47f16e8b110d84bacb586a1b7183ee4bb781c980;p=thirdparty%2Fgit.git diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 8aa303158b..2cd1c40b70 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -48,6 +48,7 @@ static int pack_objects(int fd, struct ref *refs, struct extra_have_objects *ext NULL, NULL, NULL, + NULL, }; struct child_process po; int i; @@ -59,6 +60,8 @@ static int pack_objects(int fd, struct ref *refs, struct extra_have_objects *ext argv[i++] = "--delta-base-offset"; if (args->quiet) argv[i++] = "-q"; + if (args->progress) + argv[i++] = "--progress"; memset(&po, 0, sizeof(po)); po.argv = argv; po.in = -1;