aboutsummaryrefslogtreecommitdiffstats
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-05 23:58:42 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-05 23:58:42 -0800
commit4802997c7531835f16b6fce690854d9a75119d0b (patch)
tree1199a1a8e09b18543e2adf3faccb5ee292d554cf /remote-curl.c
parent1c719ffc3d1c4e03313d5cf5c4d32ec763697857 (diff)
parentd336572f57e398318a0f6c51cc760d5be9872cc2 (diff)
downloadgit-4802997c7531835f16b6fce690854d9a75119d0b.tar.gz
Merge branch 'cb/push-quiet' into maint
* cb/push-quiet: t5541: avoid TAP test miscounting fix push --quiet: add 'quiet' capability to receive-pack server_supports(): parse feature list more carefully
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 48c20b86f3..bcbc7fba4e 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -770,7 +770,9 @@ static int push_git(struct discovery *heads, int nr_spec, char **specs)
argv[argc++] = "--thin";
if (options.dry_run)
argv[argc++] = "--dry-run";
- if (options.verbosity > 1)
+ if (options.verbosity == 0)
+ argv[argc++] = "--quiet";
+ else if (options.verbosity > 1)
argv[argc++] = "--verbose";
argv[argc++] = url;
for (i = 0; i < nr_spec; i++)