summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-21 15:03:28 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-21 15:03:28 -0700
commitd30ec1bece7f56080bac3e5a9f8dbc9f80508fdb (patch)
tree4f8652659fcc58feb2636dcf387832a63faa73ae /Documentation
parentf4470f2db0b15ae14408dcb3b5365aac550ef41e (diff)
parenta831c06a2b639b0f862297672973bef965c7ffcd (diff)
downloadgit-d30ec1bece7f56080bac3e5a9f8dbc9f80508fdb.tar.gz
Merge branch 'dt/gc-ignore-old-gc-logs' into maint
A "gc.log" file left by a backgrounded "gc --auto" disables further automatic gc; it has been taught to run at least once a day (by default) by ignoring a stale "gc.log" file that is too old. * dt/gc-ignore-old-gc-logs: gc: ignore old gc.log files
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 015346c417..038a32d01b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1402,6 +1402,12 @@ gc.autoDetach::
Make `git gc --auto` return immediately and run in background
if the system supports it. Default is true.
+gc.logExpiry::
+ If the file gc.log exists, then `git gc --auto` won't run
+ unless that file is more than 'gc.logExpiry' old. Default is
+ "1.day". See `gc.pruneExpire` for more ways to specify its
+ value.
+
gc.packRefs::
Running `git pack-refs` in a repository renders it
unclonable by Git versions prior to 1.5.1.2 over dumb