Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > Instead of (or, in addition to) --tags, to use only tags for naming, > you can now use --ref-filter=<patter> to specify a shell pattern > which the refs must match to be used for naming. > > Example: > > $ git name-rev --ref-filter=*v1* 33db5f4d > 33db5f4d tags/v1.0rc1^0~1593 I am sorry I did not mention earlier, but doesn't --ref-filter sound too long? How about '--refs=*v1*'? No need to resend, just Ack / Nack would do. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html