git-tag.txt: <commit> for --contains is optional
This goes far back to e84fb2f (branch --contains: default to HEAD - 2008-07-08) where the same parsing code is shared with builtin/tag.c. git-branch.txt correctly states that <commit> for --contains is optional while git-tag.txt does not. Correct it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Feb 4, 2014 at 09:56 UTC
81966ab2ecae5ae73627def9538e2a9dafae7523
1 file changed
+3
-2
Documentation/git-tag.txt
+3
-2
@@ -103,8 +103,9 @@ OPTIONS
103
+
104
This option is only applicable when listing tags without annotation lines.
105
106
---contains <commit>::
107
- Only list tags which contain the specified commit.
106
+--contains [<commit>]::
107
+ Only list tags which contain the specified commit (HEAD if not
108
+ specified).
109
110
--points-at <object>::
111
Only list tags of the given object.