summaryrefslogtreecommitdiff
path: root/Documentation/config/maintenance.txt
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-02-09 13:42:29 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-09 23:09:29 -0800
commitacc1c4d5d4c80c4fd93aaa151caa5593656600ae (patch)
tree406750d787e4ed5de65990a493247eaecf64c278 /Documentation/config/maintenance.txt
parentmaintenance: add pack-refs task (diff)
downloadtgif-acc1c4d5d4c80c4fd93aaa151caa5593656600ae.tar.xz
maintenance: incremental strategy runs pack-refs weekly
When the 'maintenance.strategy' config option is set to 'incremental', a default maintenance schedule is enabled. Add the 'pack-refs' task to that strategy at the weekly cadence. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/maintenance.txt')
-rw-r--r--Documentation/config/maintenance.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/config/maintenance.txt b/Documentation/config/maintenance.txt
index a5ead09e4b..18f0562131 100644
--- a/Documentation/config/maintenance.txt
+++ b/Documentation/config/maintenance.txt
@@ -15,8 +15,9 @@ maintenance.strategy::
* `none`: This default setting implies no task are run at any schedule.
* `incremental`: This setting optimizes for performing small maintenance
activities that do not delete any data. This does not schedule the `gc`
- task, but runs the `prefetch` and `commit-graph` tasks hourly and the
- `loose-objects` and `incremental-repack` tasks daily.
+ task, but runs the `prefetch` and `commit-graph` tasks hourly, the
+ `loose-objects` and `incremental-repack` tasks daily, and the `pack-refs`
+ task weekly.
maintenance.<task>.enabled::
This boolean config option controls whether the maintenance task