From: Junio C Hamano Date: Mon, 12 Feb 2018 18:56:50 GMT Subject: Re: [PATCH v3 07/14] commit-graph: update graph-head during write Message-ID: In-Reply-To: <1518122258-157281-8-git-send-email-dstolee@microsoft.com> Derrick Stolee writes: > It is possible to have multiple commit graph files in a pack directory, > but only one is important at a time. Use a 'graph_head' file to point > to the important file. Teach git-commit-graph to write 'graph_head' upon > writing a new commit graph file. Why this design, instead of what "repack -a" would do, iow, if there always is a singleton that is the only one that matters, shouldn't the creation of that latest singleton just clear the older ones before it returns control?