diff options
author | Tom Grennan <tmgrennan@gmail.com> | 2012-02-08 15:03:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-08 19:59:41 -0800 |
commit | ae7706b9ac98e3c412d799c910de604347ffce5d (patch) | |
tree | 849466f3fb04b57a2701081bc60c2b807a693005 /Documentation | |
parent | 828ea97de486c1693d6e4f2c7347acb50235a85d (diff) | |
download | git-ae7706b9ac98e3c412d799c910de604347ffce5d.tar.gz |
tag: add --points-at list option
This filters the list for tags of the given object.
Example,
john$ git tag v1.0-john v1.0
john$ git tag -l --points-at v1.0
v1.0-john
v1.0
Signed-off-by: Tom Grennan <tmgrennan@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-tag.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index 53ff5f6cf7..8d32b9a814 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -12,7 +12,8 @@ SYNOPSIS 'git tag' [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <tagname> [<commit> | <object>] 'git tag' -d <tagname>... -'git tag' [-n[<num>]] -l [--contains <commit>] [<pattern>...] +'git tag' [-n[<num>]] -l [--contains <commit>] [--points-at <object>] + [<pattern>...] 'git tag' -v <tagname>... DESCRIPTION @@ -86,6 +87,9 @@ OPTIONS --contains <commit>:: Only list tags which contain the specified commit. +--points-at <object>:: + Only list tags of the given object. + -m <msg>:: --message=<msg>:: Use the given tag message (instead of prompting). |