diff options
author | koreth@midwinter.com <koreth@midwinter.com> | 2007-10-17 21:41:43 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-18 01:10:56 -0400 |
commit | 130faabe48fd988c1eb078ef467a44e124a00a40 (patch) | |
tree | 5899df54903255ac37519cd4940fed8270da950d /builtin-gc.c | |
parent | 207f1a75e7e4d14286aeed107af7c56dc811797b (diff) | |
download | git-130faabe48fd988c1eb078ef467a44e124a00a40.tar.gz |
Add a message explaining that automatic GC is about to start
Signed-off-by: Steven Grimm <koreth@midwinter.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-gc.c')
-rw-r--r-- | builtin-gc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin-gc.c b/builtin-gc.c index 956c32d1af..f99b212ca4 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 |