Re: [ANNOUNCE] tig-0.14
From: Jonas Fonseca <hidden>
Date: 2016-06-15 22:46:12
On Fri, Feb 13, 2009 at 00:14, Tilo Schwarz [off-list ref] wrote:
Then I have another question: Did you ever thought of a branch view, where you can see, create, delete and merge the different branches which are in a git project.
I have thought about it. The question is if a separate view is necessary or if the main view would do. For example, I sometimes use gitk when I need to rename branches or prepare for rebasing a patchset. One idea I would like to explore is to provide a compressed version of the main view, where "intermediate" commits are hidden, this way you could easily get a view of the relationship between branches. The simplest thing to make it easier to experiment with new features would probably be to introduce a new external command specifier: %(prompt:<msg>), possibly with some regex for validation. Then you could add in your ~/.tigrc: bind main A !git branch %(prompt:^wip/[a-z-]+$:Name) %(commit) -- Jonas Fonseca