summaryrefslogtreecommitdiff
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorTom Grennan <tmgrennan@gmail.com>2012-02-08 23:03:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-09 03:59:41 (GMT)
commitae7706b9ac98e3c412d799c910de604347ffce5d (patch)
tree849466f3fb04b57a2701081bc60c2b807a693005 /Documentation/git-tag.txt
parent828ea97de486c1693d6e4f2c7347acb50235a85d (diff)
downloadgit-ae7706b9ac98e3c412d799c910de604347ffce5d.zip
git-ae7706b9ac98e3c412d799c910de604347ffce5d.tar.gz
git-ae7706b9ac98e3c412d799c910de604347ffce5d.tar.bz2
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/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 53ff5f6..8d32b9a 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).