threads / discuss / 38238

Gitk Branch Ordering

Subject: Gitk Branch Ordering

## tl;dr

One message between Dec 23, 2014 and Dec 23, 2014.

replies: 0people: 1as markdown or json

Nathan Mascitelli· Dec 23, 2014, 22:58 UTC · lore
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

← back to recent threads