Merge branch 'jk/maint-gitweb-xss'
[gitweb.git] / builtin / gc.c
index 6d46608fc9ffe45a9ebb7ebb4570e0b163455411..6be6c8d65b26c9149aac2b6c1de6e3217c6ceea7 100644 (file)
@@ -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 "