From: Richard Jones <richardj@backbase.com>
To: git@vger.kernel.org
Subject: Git log --tags isn't working as expected
Date: Wed, 2 Aug 2017 08:41:41 +0100 [thread overview]
Message-ID: <CACq05g+4HH9L_fiFLR8php=w5JkqB0792SzR9EZU-o+QHuoM8A@mail.gmail.com> (raw)
Hi,
I’m trying to locate a commit which takes place after another one,
matches a certain tag, and is by a specific user. I have the following
command:
git log <COMMIT_ID>..HEAD --decorate --author=“<AUTHOR>" --tags=“project-name”
The tag follows the format: project-name-version
How ever this doesn’t seem to work, as it returns all the commits by
that user since the commit ID supplied.
There is also another tag, the release version which follows the
format: x.y.z. I have tried searching for this, using:
git log --tags=“x.y.z”
But it returns all the commits, not just a specific one. The tag I am
searching for is returned by: git tag
My understanding from the docs
(https://git-scm.com/docs/git-log#git-log---tagsltpatterngt) is that
git log should only return matches to the —tags argument pattern.
I have tried using git version 2.11.0 (Apple Git-81) and version 2.13.3.
Cheers,
Rich
next reply other threads:[~2017-08-02 7:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 7:41 Richard Jones [this message]
2017-08-02 8:32 ` Git log --tags isn't working as expected Jeff King
2017-08-02 16:23 ` Junio C Hamano
2017-08-02 17:34 ` Jeff King
2017-08-02 20:28 ` Junio C Hamano
2017-08-02 22:15 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACq05g+4HH9L_fiFLR8php=w5JkqB0792SzR9EZU-o+QHuoM8A@mail.gmail.com' \
--to=richardj@backbase.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).