diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-02-17 19:22:35 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-17 11:26:49 -0800 |
commit | 2afc29aa84f518906c50a1f005e3d715babb5c20 (patch) | |
tree | 6f5e4935aa05e394408a30bfc051f1eb79e7de8f /test-sha1.c | |
parent | Merge branch 'maint' (diff) | |
download | tgif-2afc29aa84f518906c50a1f005e3d715babb5c20.tar.xz |
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>
Diffstat (limited to 'test-sha1.c')
0 files changed, 0 insertions, 0 deletions