summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-02-18 01:21:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-02-18 01:21:42 (GMT)
commitd494433d26bf955091bd3221d30d6ac85272fc72 (patch)
tree064987e24606f88063b9987c0a458e113bfdb198 /Documentation
parentfdf3a27ca9f44d0c5597b2d1a018b02f09ba8602 (diff)
parentacc1c4d5d4c80c4fd93aaa151caa5593656600ae (diff)
downloadgit-d494433d26bf955091bd3221d30d6ac85272fc72.zip
git-d494433d26bf955091bd3221d30d6ac85272fc72.tar.gz
git-d494433d26bf955091bd3221d30d6ac85272fc72.tar.bz2
Merge branch 'ds/maintenance-pack-refs'
"git maintenance" tool learned a new "pack-refs" maintenance task. * ds/maintenance-pack-refs: maintenance: incremental strategy runs pack-refs weekly maintenance: add pack-refs task
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config/maintenance.txt5
-rw-r--r--Documentation/git-maintenance.txt6
2 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/config/maintenance.txt b/Documentation/config/maintenance.txt
index a5ead09..18f0562 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
diff --git a/Documentation/git-maintenance.txt b/Documentation/git-maintenance.txt
index 3b43217..80ddd33 100644
--- a/Documentation/git-maintenance.txt
+++ b/Documentation/git-maintenance.txt
@@ -145,6 +145,12 @@ incremental-repack::
which is a special case that attempts to repack all pack-files
into a single pack-file.
+pack-refs::
+ The `pack-refs` task collects the loose reference files and
+ collects them into a single file. This speeds up operations that
+ need to iterate across many references. See linkgit:git-pack-refs[1]
+ for more information.
+
OPTIONS
-------
--auto::