summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-26 05:22:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-26 05:22:14 (GMT)
commit1fd2ffca7d89569674399e8cc192bba9c509e0a6 (patch)
tree82a1acedb5c00a84654a68ed20d6240de87c7012
parent0c41b3b1a700f153e01d49913f0041378cc88cf7 (diff)
parentc7e8ce6d1dd02f6569ea785eebc8692e8e2edf72 (diff)
downloadgit-1fd2ffca7d89569674399e8cc192bba9c509e0a6.zip
git-1fd2ffca7d89569674399e8cc192bba9c509e0a6.tar.gz
git-1fd2ffca7d89569674399e8cc192bba9c509e0a6.tar.bz2
Merge branch 'ab/gc-doc-update'
The documentation of "git gc" has been updated to mention that it is no longer limited to "pruning away crufts" but also updates ancillary files like commit-graph as a part of repository optimization. * ab/gc-doc-update: gc doc: mention the commit-graph in the intro
-rw-r--r--Documentation/git-gc.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index f5bc98c..c20ee6c 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -17,7 +17,8 @@ Runs a number of housekeeping tasks within the current repository,
such as compressing file revisions (to reduce disk space and increase
performance), removing unreachable objects which may have been
created from prior invocations of 'git add', packing refs, pruning
-reflog, rerere metadata or stale working trees.
+reflog, rerere metadata or stale working trees. May also update ancillary
+indexes such as the commit-graph.
Users are encouraged to run this task on a regular basis within
each repository to maintain good disk space utilization and good