author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sat, 17 Feb 2007 18:22:35 +0000 (19:22 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 17 Feb 2007 19:26:49 +0000 (11:26 -0800) | ||
commit | 2afc29aa84f518906c50a1f005e3d715babb5c20 | |
tree | 6f5e4935aa05e394408a30bfc051f1eb79e7de8f | tree | snapshot |
parent | 53756f290b94a0f8ee7021713fa63540d1a7e4e8 | commit | diff |
name-rev: introduce the --refs=<pattern> option
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>
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>
Documentation/git-name-rev.txt | diff | blob | history | |
builtin-name-rev.c | diff | blob | history |