Thread (92 messages) 92 messages, 7 authors, 2018-06-04

Re: [PATCH v2 11/12] gc: automatically write commit-graph files

From: Martin Ågren <hidden>
Date: 2018-05-17 18:21:01

On 11 May 2018 at 23:15, Derrick Stolee [off-list ref] wrote:
The commit-graph file is a very helpful feature for speeding up git
operations. In order to make it more useful, write the commit-graph file
by default during standard garbage collection operations.
So does it really write by default...
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
or not...? I guess the first paragraph has simply been there since
before you changed your mind about the default?
want to turn this on by default until the commit-graph feature is fully
integrated with history-modifying features like shallow clones.
So if someone would turn this on with a shallow clone, ... Do we want
some note (warning?) around that in the user documentation?

Martin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help