Browse Source
Currently, a normal run of "git maintenance run" will only run the 'gc' task, as it is the only one enabled. This is mostly for backwards- compatible reasons since "git maintenance run --auto" commands replaced previous "git gc --auto" commands after some Git processes. Users could manually run specific maintenance tasks by calling "git maintenance run --task=<task>" directly. Allow users to customize which steps are run automatically using config. The 'maintenance.<task>.enabled' option then can turn on these other tasks (or turn off the 'gc' task). Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Derrick Stolee
4 years ago
committed by
Junio C Hamano
5 changed files with 44 additions and 5 deletions
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
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. |
Loading…
Reference in new issue