Restore default verbosity for http fetches.
This adds a verbosity level below 0 for suppressing default messages with --quiet, and makes the default for http be verbose instead of quiet. This matches the behavior of the shell script version of git-fetch. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
cd547b4886
commit
2b5a06edca
@ -533,7 +533,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
|
||||
if (verbose >= 2)
|
||||
transport->verbose = 1;
|
||||
if (quiet)
|
||||
transport->verbose = 0;
|
||||
transport->verbose = -1;
|
||||
if (upload_pack)
|
||||
set_option(TRANS_OPT_UPLOADPACK, upload_pack);
|
||||
if (keep)
|
||||
|
||||
Reference in New Issue
Block a user