tag doc: split up the --[no-]merged documentation

Split up the --[no-]merged documentation into documentation that
documents each option independently. This is in line with how "branch"
and "for-each-ref" are documented, and makes subsequent changes to
discuss the limits & caveats of each option easier to read.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2017-03-21 12:58:47 +00:00 committed by Junio C Hamano
parent 0488792d2e
commit b084060921

View File

@ -124,10 +124,13 @@ This option is only applicable when listing tags without annotation lines.
Only list tags which contain the specified commit (HEAD if not Only list tags which contain the specified commit (HEAD if not
specified). specified).
--[no-]merged [<commit>]:: --merged [<commit>]::
Only list tags whose tips are reachable, or not reachable Only list tags whose tips are reachable from the specified commit
if `--no-merged` is used, from the specified commit (`HEAD` (`HEAD` if not specified).
if not specified).
--no-merged [<commit>]::
Only list tags whose tips are not reachable from the specified
commit (`HEAD` if not specified).
--points-at <object>:: --points-at <object>::
Only list tags of the given object. Only list tags of the given object.