From: Junio C Hamano Date: Tue, 04 Feb 2014 18:36:07 GMT Subject: Re: [PATCH] git-tag.txt: for --contains is optional Message-ID: In-Reply-To: <1391482586-26444-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > 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 for > --contains is optional while git-tag.txt does not. Correct it. > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > Documentation/git-tag.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt > index c418c44..404257d 100644 > --- a/Documentation/git-tag.txt > +++ b/Documentation/git-tag.txt > @@ -103,8 +103,9 @@ OPTIONS > + > This option is only applicable when listing tags without annotation lines. > > ---contains :: > - Only list tags which contain the specified commit. > +--contains []:: > + Only list tags which contain the specified commit (HEAD if not > + specified). Thanks. > > --points-at :: > Only list tags of the given object.