projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207f1a7
)
Add a message explaining that automatic GC is about to start
author
koreth@midwinter.com
<koreth@midwinter.com>
Thu, 18 Oct 2007 04:41:43 +0000
(21:41 -0700)
committer
Shawn O. Pearce
<spearce@spearce.org>
Thu, 18 Oct 2007 05:10:56 +0000
(
01:10
-0400)
Signed-off-by: Steven Grimm <koreth@midwinter.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-gc.c
patch
|
blob
|
history
diff --git
a/builtin-gc.c
b/builtin-gc.c
index 956c32d1af66444dae26a705159beba9adb7aba7..f99b212ca47b13741c1e087b6ec75b9861c11e38 100644
(file)
--- 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