Re: [PATCH] builtin: add git-default-branch command
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 3, 2021, 17:22 UTC
- Message-ID
- <xmqqy2656tni.fsf@gitster.g>
- In-Reply-To
- <nycvar.QRO.7.76.6.2111021433010.56@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> But we do have prior art in Git how to display similar information: `git > var -l` will list e.g. `GIT_PAGER`, even if it is not configured > explicitly.
Nice. I was hoping that somebody would remember this one.
GIT_AUTHOR_IDENT and such that do not even exist as a variable is part of "git var -l"; the name for the default initial branch falls into the same category.
Thanks.