summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-17 07:55:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-18 06:12:16 (GMT)
commit17815501a8f95c080891acd9537514adfe17c80e (patch)
tree24a58abb997d75c363997883ebde4032ea0ebbc7 /Documentation/config.txt
parent95143f9e686dee144e0ff4a20190b923e20e1b64 (diff)
downloadgit-17815501a8f95c080891acd9537514adfe17c80e.zip
git-17815501a8f95c080891acd9537514adfe17c80e.tar.gz
git-17815501a8f95c080891acd9537514adfe17c80e.tar.bz2
git-gc --auto: run "repack -A -d -l" as necessary.
This teaches "git-gc --auto" to consolidate many packs into one without losing unreachable objects in them by using "repack -A" when there are too many packfiles that are not marked with *.keep in the repository. gc.autopacklimit configuration can be used to set the maximum number of packs a repository is allowed to have before this mechanism kicks in. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6b6553d..b0390f8 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -446,6 +446,12 @@ gc.auto::
light-weight garbage collection from time to time. Setting
this to 0 disables it.
+gc.autopacklimit::
+ When there are more than this many packs that are not
+ marked with `*.keep` file in the repository, `git gc
+ --auto` consolidates them into one larger pack. Setting
+ this to 0 disables this.
+
gc.packrefs::
`git gc` does not run `git pack-refs` in a bare repository by
default so that older dumb-transport clients can still fetch