summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-03 04:13:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-03 04:13:27 (GMT)
commit9ac54d0f59978b92201e3ca728eed0ea7545667a (patch)
tree4698efc962d4ab9b4dc9be4c559a100c1924a3a8 /builtin
parentb65f30b6b3bf34831b32a1b209bc1955f2bf79df (diff)
parentdf995c7dd21bca9c61f9e5480fdfc1a015b4f1a0 (diff)
downloadgit-9ac54d0f59978b92201e3ca728eed0ea7545667a.zip
git-9ac54d0f59978b92201e3ca728eed0ea7545667a.tar.gz
git-9ac54d0f59978b92201e3ca728eed0ea7545667a.tar.bz2
Merge branch 'tu/gc-auto-quiet'
"gc --auto" notified the user that auto-packing has triggered even under the "--quiet" option. * tu/gc-auto-quiet: silence git gc --auto --quiet output
Diffstat (limited to 'builtin')
-rw-r--r--builtin/gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin/gc.c b/builtin/gc.c
index 6d46608..6be6c8d 100644
--- a/builtin/gc.c
+++ b/builtin/gc.c
@@ -217,9 +217,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
*/
if (!need_to_gc())
return 0;
- if (quiet)
- fprintf(stderr, _("Auto packing the repository for optimum performance.\n"));
- else
+ if (!quiet)
fprintf(stderr,
_("Auto packing the repository for optimum performance. You may also\n"
"run \"git gc\" manually. See "