Skip to content

Commit 1fd2ffc

Browse files
committed
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
2 parents 0c41b3b + c7e8ce6 commit 1fd2ffc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-gc.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Runs a number of housekeeping tasks within the current repository,
1717
such as compressing file revisions (to reduce disk space and increase
1818
performance), removing unreachable objects which may have been
1919
created from prior invocations of 'git add', packing refs, pruning
20-
reflog, rerere metadata or stale working trees.
20+
reflog, rerere metadata or stale working trees. May also update ancillary
21+
indexes such as the commit-graph.
2122

2223
Users are encouraged to run this task on a regular basis within
2324
each repository to maintain good disk space utilization and good

0 commit comments

Comments
 (0)