{"thread":{"id":"35794","subject":"[PATCH] git-tag.txt: <commit> for --contains is optional","startedAt":"2014-02-04T02:56:26Z","lastAt":"2014-02-04T18:36:07Z","messageCount":2,"participants":["Nguyễn Thái Ngọc Duy","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"234186","messageId":"1391482586-26444-1-git-send-email-pclouds@gmail.com","threadId":"35794","inReplyTo":null,"subject":"[PATCH] git-tag.txt: <commit> for --contains is optional","fromName":"Nguyễn Thái Ngọc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2014-02-04T02:56:26Z","receivedAt":"2014-02-04T02:56:26Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"This goes far back to e84fb2f (branch --contains: default to HEAD -\n2008-07-08) where the same parsing code is shared with\nbuiltin/tag.c. git-branch.txt correctly states that <commit> for\n--contains is optional while git-tag.txt does not. Correct it.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\n---\n Documentation/git-tag.txt | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt\nindex c418c44..404257d 100644\n--- a/Documentation/git-tag.txt\n+++ b/Documentation/git-tag.txt\n@@ -103,8 +103,9 @@ OPTIONS\n +\n This option is only applicable when listing tags without annotation lines.\n \n---contains <commit>::\n-\tOnly list tags which contain the specified commit.\n+--contains [<commit>]::\n+\tOnly list tags which contain the specified commit (HEAD if not\n+\tspecified).\n \n --points-at <object>::\n \tOnly list tags of the given object.\n-- \n1.8.5.2.240.g8478abd\n"},{"id":"234212","messageId":"xmqq8utqafoo.fsf@gitster.dls.corp.google.com","threadId":"35794","inReplyTo":"1391482586-26444-1-git-send-email-pclouds@gmail.com","subject":"Re: [PATCH] git-tag.txt: <commit> for --contains is optional","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2014-02-04T18:36:07Z","receivedAt":"2014-02-04T18:36:07Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> writes:\n\n> This goes far back to e84fb2f (branch --contains: default to HEAD -\n> 2008-07-08) where the same parsing code is shared with\n> builtin/tag.c. git-branch.txt correctly states that <commit> for\n> --contains is optional while git-tag.txt does not. Correct it.\n>\n> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\n> ---\n>  Documentation/git-tag.txt | 5 +++--\n>  1 file changed, 3 insertions(+), 2 deletions(-)\n>\n> diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt\n> index c418c44..404257d 100644\n> --- a/Documentation/git-tag.txt\n> +++ b/Documentation/git-tag.txt\n> @@ -103,8 +103,9 @@ OPTIONS\n>  +\n>  This option is only applicable when listing tags without annotation lines.\n>  \n> ---contains <commit>::\n> -\tOnly list tags which contain the specified commit.\n> +--contains [<commit>]::\n> +\tOnly list tags which contain the specified commit (HEAD if not\n> +\tspecified).\n\nThanks.\n\n>  \n>  --points-at <object>::\n>  \tOnly list tags of the given object.\n"}]}