From: koreth@midwinter.com Date: Thu, 18 Oct 2007 04:41:43 +0000 (-0700) Subject: Add a message explaining that automatic GC is about to start X-Git-Tag: v1.5.4-rc0~346 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=130faabe48fd988c1eb078ef467a44e124a00a40;p=git.git Add a message explaining that automatic GC is about to start Signed-off-by: Steven Grimm Signed-off-by: Shawn O. Pearce --- diff --git a/builtin-gc.c b/builtin-gc.c index 956c32d1a..f99b212ca 100644 --- a/builtin-gc.c +++ b/builtin-gc.c @@ -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