aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-31 18:07:59 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-31 18:07:59 -0800
commitb37f26d8a2d4551b8ee365e66cbaf3d03b05e74d (patch)
treec0cbe3de06f95fd4f799d938a8b59b23ffb1e70d /Documentation
parent29254142ddac335b33606c0036561f6df89f3d18 (diff)
parent32c35cfb1e9c8523b9d60e5095f1c49ebaef0279 (diff)
downloadgit-b37f26d8a2d4551b8ee365e66cbaf3d03b05e74d.tar.gz
git-b37f26d8a2d4551b8ee365e66cbaf3d03b05e74d.tar.xz
Merge branch 'jg/tag-contains'
* jg/tag-contains: git-tag: Add --contains option Make has_commit() non-static Make opt_parse_with_commit() non-static
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index e44f54302..533d18bbd 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -12,7 +12,7 @@ SYNOPSIS
'git tag' [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>]
<name> [<commit> | <object>]
'git tag' -d <name>...
-'git tag' [-n[<num>]] -l [<pattern>]
+'git tag' [-n[<num>]] -l [--contains <commit>] [<pattern>]
'git tag' -v <name>...
DESCRIPTION
@@ -68,6 +68,9 @@ OPTIONS
List tags with names that match the given pattern (or all if no pattern is given).
Typing "git tag" without arguments, also lists all tags.
+--contains <commit>::
+ Only list tags which contain the specified commit.
+
-m <msg>::
Use the given tag message (instead of prompting).
If multiple `-m` options are given, their values are