diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-09-06 11:06:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-06 11:10:41 -0700 |
commit | 5a277f3ff7cb57e35ce574e93866b6c7e3bf8971 (patch) | |
tree | e93c73328b69b31ef426b1985c0ab825376141ca /remote-curl.c | |
parent | b15b5b10a75e202f3f90e000925545243267cbee (diff) | |
download | git-5a277f3ff7cb57e35ce574e93866b6c7e3bf8971.tar.gz |
Revert "Merge branch 'cb/maint-quiet-push' into maint"
This reverts commit ffa69e61d3c5730bd4b65a465efc130b0ef3c7df, reversing
changes made to 4a13c4d14841343d7caad6ed41a152fee550261d.
Adding a new command line option to receive-pack and feed it from
send-pack is not an acceptable way to add features, as there is no
guarantee that your updated send-pack will be talking to updated
receive-pack. New features need to be added via the capability mechanism
negotiated over the protocol.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote-curl.c')
-rw-r--r-- | remote-curl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remote-curl.c b/remote-curl.c index 6d3aff62da..69831e931a 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -762,9 +762,7 @@ 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 < 0) - argv[argc++] = "--quiet"; - else if (options.verbosity > 1) + if (options.verbosity > 1) argv[argc++] = "--verbose"; argv[argc++] = url; for (i = 0; i < nr_spec; i++) |