maintenance: add auto condition for commit-graph task
[git] / Documentation / config / maintenance.txt
1 maintenance.<task>.enabled::
2         This boolean config option controls whether the maintenance task
3         with name `<task>` is run when no `--task` option is specified to
4         `git maintenance run`. These config values are ignored if a
5         `--task` option exists. By default, only `maintenance.gc.enabled`
6         is true.
7
8 maintenance.commit-graph.auto::
9         This integer config option controls how often the `commit-graph` task
10         should be run as part of `git maintenance run --auto`. If zero, then
11         the `commit-graph` task will not run with the `--auto` option. A
12         negative value will force the task to run every time. Otherwise, a
13         positive value implies the command should run when the number of
14         reachable commits that are not in the commit-graph file is at least
15         the value of `maintenance.commit-graph.auto`. The default value is
16         100.