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

Hide decorations in git log

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
May 24, 2017, 14:22 UTC
Message-ID
<CAHd499B+cyN=3XDqr7KgHSpyHLwi6bS=P_4beoS5fSkFhapAtw@mail.gmail.com>
Hello,

Is it possible to hide decorated refs in `git log` even if they are reachable from the refs I'm actually interested in seeing the logs of?

For example, if I do `git log --graph --decorate --oneline --branches 'feature/*'`, I'd like to *only* see refnames that match the glob pattern. However, you'll see tags and other branches that do not match the glob if they are reachable from the result set.

This is purely a visual thing, and shouldn't impact the search results I'd think.

This is especially useful in cases where I do --simplify-by-decoration to get a better understanding of the topology of just a couple of select branches. Without some sort of "decoration exclusion", I am getting ton of results including tags, etc which obfuscates the information I'm really interested in.

Thanks in advance.
Next: Robert Dailey
Message 1 of 4 in “Hide decorations in git log”
  1. Robert DaileyMay 24, 2017
  2. Robert DaileyMay 24, 2017
  3. Jeff KingMay 24, 2017
  4. Ævar Arnfjörð BjarmasonMay 26, 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.