From: Junio C Hamano Date: Sat, 17 Feb 2007 18:47:24 GMT Subject: Re: [PATCH] name-rev: introduce the --ref-filter= option Message-ID: <7vabzctydf.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > Instead of (or, in addition to) --tags, to use only tags for naming, > you can now use --ref-filter= 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.