On Sep 21, 4:28 am, Pieter de Bie <[email protected]> wrote:
could be really pretty with a gradient or whatever.
>
> > It seems to me you could get both supported just by using two forms of
> > highlighting of branches in the sidebar: the main one (e.g. a normal
> > colored highlight) indicating the current branch being viewed, and
> > some additional icon or embellishment for the current branch for
> > commits.  In commit view, just omit the normal colored highlight.
>
> That doesn't seem very clear. I've never seen a program use two
> different highlights before. It also doesn't solve the problem that
> you want to select something that means 'follow the curretn branch,
> even if it changes', which won't be possible unless you explicitly add
> something in the tree for that.

I really just meant use the iTunes arrow or something, not a separate
selection.  The right click context menu item you suggest would be
perfect.  As far as "follow the currently checked out branch, whatever
it is", I presume you mean follow the history view for that branch.
You could have the "checked out branch" meta branch (along with the
other "meta branches", like All...), and in addition have the iTunes
arrow to indicate which branch (if any) is checked out.  This would
offer the bonus of also giving semantic meaning to a headless current
branch (aka unnamed).

> It's already possible to switch branches by right-clicking on a branch
> label and selecting 'checkout branch', which I'll also add to the
> sidebar.

Great.  So it's just a matter of how to indicate the checked out
branch in the sidebar then.

> I'm not sure why we should support committing on a different branch?
> I've never heard anyone complain about that, and it completely
> contradicts how the rest of git works. That just doesn't seem like a
> good idea, and IMHO we should just keep to the 'commit on the current
> branch' way that we already have.

I'm confused.  I thought we already *did* support it, by right click
on branch labels?  For me "committing on a different branch" ==
"selecting a new checkout branch for commits".  With the sidebar, this
can be made much more obvious, even in commit view.  Sorry if I was
confusing on this point.

Reply via email to