git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git log --tags isn't working as expected

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 2, 2017, 16:23 UTC
Message-ID
<xmqqa83idjlj.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170802083200.3rmnz6mx2wfoarng@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
>   3. Use --simplify-by-decoration to show a particular range of commits,
>      but limit to ones that actually have a ref pointing at them. Like:
>
>        git log <COMMIT_ID>..HEAD --simplify-by-decoration
Nit: dashed options come first and then revs and then pathspecs.
> I think (3) matches what you're trying to do the best. You can't say
> "just tags" for the decoration, though, so you'll see branch tips as
> well. There's been some discussion about allowing specific decorations,
> but nothing merged yet.
Previous: Jeff KingNext: Jeff King
Message 3 of 6 in “Git log --tags isn't working as expected”
  1. Richard JonesAug 2, 2017
  2. Jeff KingAug 2, 2017
  3. Junio C HamanoAug 2, 2017
  4. Jeff KingAug 2, 2017
  5. Junio C HamanoAug 2, 2017
  6. Jeff KingAug 2, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.