Re: [PATCH 15/18] setup: stop using `the_repository` in `check_repository_format()`
On Fri, Apr 17, 2026 at 06:23:13PM -0700, Elijah Newren wrote:
Show 15 quoted lines
> On Mon, Mar 30, 2026 at 6:19 AM Patrick Steinhardt <ps@pks.im> wrote:
> > diff --git a/setup.c b/setup.c
> > index 6dbd096f20..c32d6e96bb 100644
> > --- a/setup.c
> > +++ b/setup.c
> > @@ -1755,6 +1755,37 @@ enum discovery_result discover_git_directory_reason(struct strbuf *commondir,
> > return result;
> > }
> >
> > +/*
> > + * Check the repository format version in the path found in repo_get_git_dir(the_repository),
>
> Can we make the code comment match the code below, i.e.
> the_repository -> repo
> ?
Good eyes, will adapt.
Patrick