make it easier for people who just want to get rid of 'git gc --auto'
Give a direct hint to those who feel highly annoyed by the auto gc behavior. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nicolas Pitre committed
Mar 19, 2008 at 17:06 UTC
05f304526197ac6e27ce1fe2e010eb023472b30b
1 file changed
+9
-2
Documentation/git-gc.txt
+9
-2
@@ -19,8 +19,15 @@ created from prior invocations of linkgit:git-add[1].
19
20
Users are encouraged to run this task on a regular basis within
21
each repository to maintain good disk space utilization and good
22
-operating performance. Some git commands may automatically run
23
-`git-gc`; see the `--auto` flag below for details.
22
+operating performance.
23
+
24
+Some git commands may automatically run `git-gc`; see the `--auto` flag
25
+below for details. If you know what you're doing and all you want is to
26
+disable this behavior permanently without further considerations, just do:
27
+
28
+----------------------
29
+$ git config --global gc.auto 0
30
+----------------------
31
32
OPTIONS
33
-------