]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-gc.c
Merge branch 'lt/diff-rename'
[git.git] / builtin-gc.c
index 956c32d1af66444dae26a705159beba9adb7aba7..f99b212ca47b13741c1e087b6ec75b9861c11e38 100644 (file)
@@ -205,6 +205,10 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
                prune = 0;
                if (!need_to_gc())
                        return 0;
+               fprintf(stderr, "Packing your repository for optimum "
+                       "performance. If you would rather run\n"
+                       "\"git gc\" by hand, run \"git config gc.auto 0\" "
+                       "to disable automatic cleanup.\n");
        } else {
                /*
                 * Use safer (for shared repos) "-A" option to