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

Git showing tags in logs when it shouldn't

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
May 19, 2014, 13:17 UTC
Message-ID
<CAHd499Dx8aZVm0yr7bSo2JTsmJt0p_b2H64pmjCCZFQCVWfZKA@mail.gmail.com>
I have run the following command:

log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset)%x09%C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset) %C(dim white)%an%C(reset) - %C(white)%s%C(reset)'

After running this, I am seeing tag labels in the log graph. I believe these shouldn't be showing because the docs for --decorate state that refs/tags/ should not show. I'm also obviously not specifying --tags

Is this a bug? If not, what changes do I need to make? I only want to see branch labels, nothing else.

Next: Jeff King
Message 1 of 2 in “Git showing tags in logs when it shouldn't”
  1. Robert DaileyMay 19, 2014
  2. Jeff KingMay 19, 2014

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.