Re: [PATCH v3 7/8] remote: use the configured default branch name when appropriate
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 24, 2020, 13:00 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2006241459000.54@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqbll99sl5.fsf@gitster.c.googlers.com>
Hi Junio,
On Tue, 23 Jun 2020, Junio C Hamano wrote:
Show 18 quoted lines
> "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> > 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