summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-03 22:13:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-05-03 22:13:55 (GMT)
commit4c732da91cea2156979a0cc73cc772ef024e7b9a (patch)
tree566b6d7db549e6720af66801fb03fdae906b8fe6 /remote-curl.c
parentf4ed0af6e2762bc43de474d1fcaa2863b00268eb (diff)
parente304aeba20d6f26cb95c022704440a36ef309075 (diff)
downloadgit-4c732da91cea2156979a0cc73cc772ef024e7b9a.zip
git-4c732da91cea2156979a0cc73cc772ef024e7b9a.tar.gz
git-4c732da91cea2156979a0cc73cc772ef024e7b9a.tar.bz2
Merge branch 'jk/maint-push-progress'
"git push" over smart-http lost progress output and this resurrects it. By Jeff King * jk/maint-push-progress: t5541: test more combinations of --progress teach send-pack about --[no-]progress send-pack: show progress when isatty(2)
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 0896221..04a9d62 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -782,6 +782,7 @@ static int push_git(struct discovery *heads, int nr_spec, char **specs)
argv[argc++] = "--quiet";
else if (options.verbosity > 1)
argv[argc++] = "--verbose";
+ argv[argc++] = options.progress ? "--progress" : "--no-progress";
argv[argc++] = url;
for (i = 0; i < nr_spec; i++)
argv[argc++] = specs[i];