Skip to content

Commit

Permalink
make it easier for people who just want to get rid of 'git gc --auto'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Pitre authored and Junio C Hamano committed Mar 20, 2008
1 parent b14d255 commit 05f3045
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Documentation/git-gc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ created from prior invocations of linkgit:git-add[1].

Users are encouraged to run this task on a regular basis within
each repository to maintain good disk space utilization and good
operating performance. Some git commands may automatically run
`git-gc`; see the `--auto` flag below for details.
operating performance.

Some git commands may automatically run `git-gc`; see the `--auto` flag
below for details. If you know what you're doing and all you want is to
disable this behavior permanently without further considerations, just do:

----------------------
$ git config --global gc.auto 0
----------------------

OPTIONS
-------
Expand Down

0 comments on commit 05f3045

Please sign in to comment.