Re: [PATCH 00/12] show-ref: introduce mode to check for ref existence
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 24, 2023, 19:17 UTC
- Message-ID
- <xmqqttqf3k5a.fsf@gitster.g>
- In-Reply-To
- <cover.1698152926.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> this patch series introduces a new `--exists` mode to git-show-ref(1) to > explicitly check for the existence of a reference, only.
I agree that show-ref would be the best place for this feature (not rev-parse, which is already a kitchen sink). After all, the command was designed for validating refs in 358ddb62 (Add "git show-ref" builtin command, 2006-09-15).
Thanks. Hopefully I can take a look before I go offline.