git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git log --tags isn't working as expected
@ 2017-08-02  7:41 Richard Jones
  2017-08-02  8:32 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2017-08-02  7:41 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-02 22:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02  7:41 Git log --tags isn't working as expected Richard Jones
2017-08-02  8:32 ` 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

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).