aboutsummaryrefslogtreecommitdiff
path: root/builtin-fetch.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2007-10-02 22:49:15 -0400
committerJunio C Hamano <gitster@pobox.com>2007-10-02 21:12:01 -0700
commit2b5a06edca8f7237aad6464b349b79772024d2a2 (patch)
treeb4acc4d6418dbcb610cc4f20946e3cd1621167a3 /builtin-fetch.c
parentcd547b4886c5338a70eb8a674bfc40eac5cab3d9 (diff)
downloadgit-2b5a06edca8f7237aad6464b349b79772024d2a2.tar.gz
git-2b5a06edca8f7237aad6464b349b79772024d2a2.tar.xz
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>
Diffstat (limited to 'builtin-fetch.c')
-rw-r--r--builtin-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c
index ac68ff592..cf7498b15 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -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)