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>
Ævar Arnfjörð Bjarmason committed
Mar 21, 2017 at 12:58 UTC
b084060921d6403164e8dee506de787d017569c3
1 file changed
+7
-4
Documentation/git-tag.txt
+7
-4
@@ -124,10 +124,13 @@ This option is only applicable when listing tags without annotation lines.
124
Only list tags which contain the specified commit (HEAD if not
125
specified).
126
127
---[no-]merged [<commit>]::
128
- Only list tags whose tips are reachable, or not reachable
129
- if `--no-merged` is used, from the specified commit (`HEAD`
130
- if not specified).
127
+--merged [<commit>]::
128
+ Only list tags whose tips are reachable from the specified commit
129
+ (`HEAD` if not specified).
130
+
131
+--no-merged [<commit>]::
132
+ Only list tags whose tips are not reachable from the specified
133
+ commit (`HEAD` if not specified).
134
135
--points-at <object>::
136
Only list tags of the given object.