author | Matthijs Melchior <mmelchior@xs4all.nl> | |
Sun, 3 Jun 2007 00:05:39 +0000 (02:05 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 3 Jun 2007 03:04:14 +0000 (20:04 -0700) | ||
commit | 980ea5c5bb1dfbbf93b919942c703b9158c35968 | |
tree | 08f020d817f13121e34299d2216359ef2eeec542 | tree | snapshot |
parent | c94bf41c9a78dc1c084f2a2895f95b6b6d8f79b1 | commit | diff |
Teach git-tag about showing tag annotations.
The <pattern> for -l is now a shell pattern, not a list of grep parameters.
Option -l may be repeated with another <pattern>.
The new -n [<num>] option specifies how many lines from
the annotation are to be printed.
Not specifieing -n or -n 0 will just produce the tag names
Just -n or -n 1 will show the first line of the annotation on
the tag line.
Other valuse for -n will show that number of lines from the annotation.
The exit code used to indicate if any tag was found.
This is changed due to a different implementation.
A good way to test a tag for existence is to use:
git show-ref --quiet --verify refs/tags/$TAGNAME
Signed-off-by: Matthijs Melchior <mmelchior@xs4all.nl>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The <pattern> for -l is now a shell pattern, not a list of grep parameters.
Option -l may be repeated with another <pattern>.
The new -n [<num>] option specifies how many lines from
the annotation are to be printed.
Not specifieing -n or -n 0 will just produce the tag names
Just -n or -n 1 will show the first line of the annotation on
the tag line.
Other valuse for -n will show that number of lines from the annotation.
The exit code used to indicate if any tag was found.
This is changed due to a different implementation.
A good way to test a tag for existence is to use:
git show-ref --quiet --verify refs/tags/$TAGNAME
Signed-off-by: Matthijs Melchior <mmelchior@xs4all.nl>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-tag.txt | diff | blob | history | |
git-tag.sh | diff | blob | history |