From: Junio C Hamano Date: Tue, 24 Oct 2023 19:17:21 GMT Subject: Re: [PATCH 00/12] show-ref: introduce mode to check for ref existence Message-ID: In-Reply-To: Patrick Steinhardt 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.