sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Highlight remote tracking branch

Open themilkman opened this issue 1 year ago • 0 comments

Problem description

When branches are diverged, I want to compare my local with the remote tracking branch(es).

Preferred solution

I am aware that the click selection is not persistent in SM currently. So there would be few options that came up to my mind:

  • Always draw the remote tracking branch bold in the REMOTES section (obviously will only work for the currently checked out branch)
  • A context menu entry to go to/select the HEAD of the remote corresponding branch in the Commits Graph (nested menu if multiple)
  • Highlight the target branch(es) in the Locations section only for short time after clicking it (probably does not match the UX in general/not so useful on large branch lists)

Alternatives

Maybe add a context menu to diff the HEAD of the local branch with the diverged remote one directly.

Ps.: I actually don't know how SM renders the diverged indicators on multiple tracking branches

themilkman avatar Nov 06 '24 15:11 themilkman