author | Pierre Habouzit <madcoder@debian.org> | |
Fri, 21 Dec 2007 10:50:58 +0000 (11:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 22 Dec 2007 08:05:02 +0000 (00:05 -0800) | ||
commit | 78d776a9699cd3e3d368366afaa66dee97e53ac5 | |
tree | 64592565e9ab701ec976eabe8194f4bed300c582 | tree | snapshot |
parent | 56c3eb173293d512fa85add94a7d0a3bfc6fe74a | commit | diff |
git-tag: fix -l switch handling regression.
The command itself takes an optional <pattern> argument that
limits the shown tags to the ones that match when in listing
mode that is triggered with '-l' option. The <pattern> is not
an optional option-argument to '-l'.
With this fix, "git tag -l -n 4 v0.99" works as expected.
It also removes a few bogus tests in t7004.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The command itself takes an optional <pattern> argument that
limits the shown tags to the ones that match when in listing
mode that is triggered with '-l' option. The <pattern> is not
an optional option-argument to '-l'.
With this fix, "git tag -l -n 4 v0.99" works as expected.
It also removes a few bogus tests in t7004.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-tag.c | diff | blob | history | |
t/t7004-tag.sh | diff | blob | history |