From: Junio C Hamano Date: Tue, 21 Mar 2017 18:26:03 GMT Subject: Re: [PATCH v2 02/16] tag doc: split up the --[no-]merged documentation Message-ID: In-Reply-To: <20170321125901.10652-3-avarab@gmail.com> Ævar Arnfjörð Bjarmason writes: > 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 > --- This is consistent with a possible future (i.e. you do not have to be the one to realize it) where "--merged A --no-merged B" can be given together. Makes sense. > Documentation/git-tag.txt | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt > index 33f18ea5fb..68b0ab2410 100644 > --- a/Documentation/git-tag.txt > +++ b/Documentation/git-tag.txt > @@ -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 > specified). > > ---[no-]merged []:: > - Only list tags whose tips are reachable, or not reachable > - if `--no-merged` is used, from the specified commit (`HEAD` > - if not specified). > +--merged []:: > + Only list tags whose tips are reachable from the specified commit > + (`HEAD` if not specified). > + > +--no-merged []:: > + Only list tags whose tips are not reachable from the specified > + commit (`HEAD` if not specified). > > --points-at :: > Only list tags of the given object.