From: Junio C Hamano Date: Fri, 26 Oct 2018 05:22:14 +0000 (+0900) Subject: Merge branch 'ab/gc-doc-update' X-Git-Tag: v2.20.0-rc0~134 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1fd2ffca7d89569674399e8cc192bba9c509e0a6?hp=0c41b3b1a700f153e01d49913f0041378cc88cf7 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 --- diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index f5bc98ccb3..c20ee6c789 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