From: Johannes Schindelin Date: Wed, 24 Jun 2020 13:00:29 GMT Subject: Re: [PATCH v3 7/8] remote: use the configured default branch name when appropriate Message-ID: In-Reply-To: Hi Junio, On Tue, 23 Jun 2020, Junio C Hamano wrote: > "Johannes Schindelin via GitGitGadget" > writes: > > > diff --git a/remote.c b/remote.c > > index 534c6426f1..965129adc3 100644 > > --- a/remote.c > > +++ b/remote.c > > @@ -276,7 +276,7 @@ static void read_branches_file(struct remote *remote) > > > > /* > > * The branches file would have URL and optionally > > - * #branch specified. The "master" (or specified) branch is > > + * #branch specified. The main (or specified) branch is > > * fetched and stored in the local branch matching the > > * remote name. > > */ > > Isn't this a bit premature here? Actually, it is just wrong. It should talk about the default branch instead. Ciao, Dscho