Subject: Re: [PATCH 00/12] show-ref: introduce mode to check for ref existence

From: Junio C Hamano <[email-masked]>
Date: Tue, 24 Oct 2023 12:17:21 -0700

Patrick Steinhardt <[email-masked]> 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.