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

Gitk Branch Ordering

From
NMNathan Mascitelli <nathanmascitelli@geotab.com>
Date
Dec 23, 2014, 22:58 UTC
Message-ID
<CAJddYyi5v6uXCSjmVhi5dDpdtpeFtV7cc4R5veLi1UhOXJ2bsQ@mail.gmail.com>
Hi,

I have noticed that gitk does not order the branches it draws the same way as 'git log --graph'

'git log' seems to keep your current branch as the leftmost line. In the below screenshot here (https://drive.google.com/open?id=0B9b8DuGRceMSTHgzV3dBZkxiTVU&authuser=0) master is the current branch. It is the leftmost branch and we can see that at faf2797 someone made a branch and later merged it back into master. This is shown as a bump out to the right.

However in gitk this is not the case. In the shot here (https://drive.google.com/open?id=0B9b8DuGRceMSNUJjbEhGaDZXeTg&authuser=0) the same commits are shown but the bump is out to the left. Master is in the middle of a number of branches.

This is counter intuitive (to me at least). I can't seem to find any setting or argument that will have gitk behave the same as 'git log' with regards to branch ordering.

Is this possible?
Thanks,
Nathan Mascitelli
Message 1 of 1 in “Gitk Branch Ordering”
  1. Nathan MascitelliDec 23, 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.