Re: Making split commit graphs pick up new options (namely --changed-paths)
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Jun 11, 2021, 17:47 UTC
- Message-ID
- <e85bb66a-d70d-1861-07ef-82a74bcce4d7@gmail.com>
- In-Reply-To
- <YMKzOgOU9lj9Nt0z@nand.local>
On 6/10/2021 8:50 PM, Taylor Blau wrote:
Show 7 quoted lines
> On Fri, Jun 11, 2021 at 01:56:31AM +0200, Ævar Arnfjörð Bjarmason wrote: >> So yeah, maybe we can just unlink() them right away, or another way to >> handle the race is that load_commit_graph_chain() could just try again >> from the beginning in such a case, and presumably picking up the fresh >> just-rewritten chain. > > I'd probably be in favor of the latter.
I want to point out that on Windows we cannot successfully unlink() a layer that is currently being read by another Git process. That will not affect server scenarios (to the best of my knowledge) but is important to many end users.
Thanks, -Stolee