提交 81966ab2 编写于 作者: N Nguyễn Thái Ngọc Duy 提交者: Junio C Hamano

git-tag.txt: <commit> for --contains is optional

This goes far back to e84fb2ff (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: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 2f93541d
......@@ -103,8 +103,9 @@ OPTIONS
+
This option is only applicable when listing tags without annotation lines.
--contains <commit>::
Only list tags which contain the specified commit.
--contains [<commit>]::
Only list tags which contain the specified commit (HEAD if not
specified).
--points-at <object>::
Only list tags of the given object.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册