From: Phillip Wood Date: Fri, 05 Sep 2025 10:09:30 GMT Subject: Re: [PATCH v2 4/4] t0613: stop setting default initial branch Message-ID: <9f609d58-0abf-4bf3-8482-fc5487d72f31@gmail.com> In-Reply-To: On 04/09/2025 19:35, Junio C Hamano wrote: > > Having to change this many "git init" invocations feels awkward, > especially when we envision what needs to be done if somebody needs > to update this file later. I wonder if a new helper function > upfront > > +init_repo () { > + git init --initial-branch master repo > +} > + > > with many changes like this to the rest of file > > - git init repo && > + init_repo && > > may be easier to maintain over time? I dunno. Good idea, that would give us a convenient place to move the comment to as well Thanks Phillip