From: Eric Sunshine Date: Thu, 29 Jun 2023 18:21:31 GMT Subject: Re: [PATCH 3/3] fsck: mention file path for index errors Message-ID: In-Reply-To: <20230511170133.GA1977634@coredump.intra.peff.net> On Thu, May 11, 2023 at 1:01 PM Jeff King wrote: > On Thu, May 11, 2023 at 12:28:45PM -0400, Eric Sunshine wrote: > > Yes, s/main/current/ probably would be helpful for future readers of > > the code. It's unfortunate that the term "current" can ambiguously > > also be read as meaning "the up-to-date index" or "the present-time > > index" as opposed to "the index in this directory/worktree", which is > > the intention here. But "current" is consistent with the existing > > `struct worktree.is_current`, so hopefully should not be too > > confusing. > > I think in this context it should be pretty clear. Do you want to > prepare a patch? Done. As usual, I forgot to use --in-reply-to= when sending the patch despite having gone through the effort of looking up the relevant message-ID of this thread. Oh well. The patch is here[1]. [1]: https://lore.kernel.org/git/20230629181333.87465-1-ericsunshine@charter.net/