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

--simplify-by-decoration, but include branch points

From
APAndrew Pimlott <andrew@pimlott.net>
Date
Sep 22, 2011, 18:24 UTC
Message-ID
<1316715489-sup-9523@pimlott.net>

The --simplify-by-decoration option to git log is a great way to view branch topology. However, it is a bit misleading because it does not necessarily show branch points. For example, I have a repository that looks like:

    * 6045d25 (HEAD, master) 3
    | * 8daa592 (branch) 2.1
    |/
    * a4da73a 2
    * 014106d (tag: v1) 1

This is from "git log --decorate --all --graph --oneline". If I add --simplify-by-decoration, I get

    * 6045d25 (HEAD, master) 3
    | * 8daa592 (branch) 2.1
    |/
    * 014106d (tag: v1) 1

Note it appears as though the branch point is 014106d, when it's really 014106d. I would love to see an option like --simplify-by-decoration that also selects branch points for display, maybe --simplify-by-branch-point. (It should be possible to combine it with --simplify-by-decoration.)

Is there anything like this?
Andrew
Message 1 of 1 in “--simplify-by-decoration, but include branch points”
  1. Andrew PimlottSep 22, 2011

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.