about summary refs log tree commit diff
path: root/third_party/git/Documentation/config/maintenance.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/config/maintenance.txt')
-rw-r--r--third_party/git/Documentation/config/maintenance.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/git/Documentation/config/maintenance.txt b/third_party/git/Documentation/config/maintenance.txt
new file mode 100644
index 000000000000..7cc6700d574d
--- /dev/null
+++ b/third_party/git/Documentation/config/maintenance.txt
@@ -0,0 +1,16 @@
+maintenance.<task>.enabled::
+	This boolean config option controls whether the maintenance task
+	with name `<task>` is run when no `--task` option is specified to
+	`git maintenance run`. These config values are ignored if a
+	`--task` option exists. By default, only `maintenance.gc.enabled`
+	is true.
+
+maintenance.commit-graph.auto::
+	This integer config option controls how often the `commit-graph` task
+	should be run as part of `git maintenance run --auto`. If zero, then
+	the `commit-graph` task will not run with the `--auto` option. A
+	negative value will force the task to run every time. Otherwise, a
+	positive value implies the command should run when the number of
+	reachable commits that are not in the commit-graph file is at least
+	the value of `maintenance.commit-graph.auto`. The default value is
+	100.