name-rev: introduce the --refs=<pattern> option
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 17 Feb 2007 18:22:35 +0000 (19:22 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 17 Feb 2007 19:26:49 +0000 (11:26 -0800)
Instead of (or, in addition to) --tags, to use only tags for naming,
you can now use --refs=<pattern> to specify a shell glob pattern
which the refs must match to be used for naming.

Example:

$ git name-rev --refs=*v1* 33db5f4d
33db5f4d tags/v1.0rc1^0~1593

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found