Unimportant branches are stuck at the top of my tig view

303 Views Asked by At

I am using tig version 2.2.1, and for some reason tig decides to show me a couple of unimportant branches, in addition to the branch I am currently working on.

The two additional branches has nothing to do with my currently working branch, they were never merged to each other or anything like that.

When I use git log --graph everything seems perfectly fine, I can't understand what makes tig go haywire.

1

There are 1 best solutions below

2
On

Tig's main view which shows commits uses the currently checked out branch, but will show other branch names if those branches are a subset of the current branch's history. The associated git-log commit would be closer to:

git log --graph --decorate

It is possible to disabled the display of branch names by putting the following in ~/.tigrc:

set main-view-commit-title-refs = false