From: Derrick Stolee Date: Wed, 27 Jun 2018 13:24:46 +0000 (-0400) Subject: gc: automatically write commit-graph files X-Git-Tag: v2.19.0-rc0~110^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d5d5d7b64131a23a13698242797f11f6479e39e8?ds=inline;hp=d5d5d7b64131a23a13698242797f11f6479e39e8 gc: automatically write commit-graph files The commit-graph file is a very helpful feature for speeding up git operations. In order to make it more useful, make it possible to write the commit-graph file during standard garbage collection operations. Add a 'gc.commitGraph' config setting that triggers writing a commit-graph file after any non-trivial 'git gc' command. Defaults to false while the commit-graph feature matures. We specifically do not want to have this on by default until the commit-graph feature is fully integrated with history-modifying features like shallow clones. Helped-by: Ævar Arnfjörð Bjarmason Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---