Re: [PATCH v2 6/7] commit-graph: introduce common exit for `write_commit_graph_file()`
On 11/20/26 17:52, Patrick Steinhardt wrote:
Show 6 quoted lines
> In the next commit we're going to refactor `write_commit_graph_file()`.
> As part of that refactoring we'll perform a couple more allocations in
> this function that need to be cleaned up on exit.
> > Prepare for this by introducing a common exit path now already, as that
> will make the diff a tiny bit easier to read.
> The change itself looks neat. I just wonder if it would be worth mentioning in the commit message that we also rollback the lockfile more promptly in case of an error. Not a blocker per se.
--
Sivaraam