diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-06-27 09:24:46 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-27 10:29:10 -0700 |
commit | d5d5d7b64131a23a13698242797f11f6479e39e8 (patch) | |
tree | 0f0ca2a29f09cb9eac07a649ef7fe6f96ea9cf15 /Documentation/git-update-ref.txt | |
parent | commit-graph: add '--reachable' option (diff) | |
download | tgif-d5d5d7b64131a23a13698242797f11f6479e39e8.tar.xz |
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 <avarab@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-ref.txt')
0 files changed, 0 insertions, 0 deletions