Patrick Steinhardt <ps@xxxxxx> 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.