ruyadorno / git-bc

Git plugin to interactively list branches and checkout
MIT License
60 stars 6 forks source link

It should indicate the current branch when opening #3

Closed nwinkler closed 9 years ago

nwinkler commented 9 years ago

When starting git bc, it should somehow indicate the currently active branch, e.g. using a different color - or even making it the default selection. Right now, it's simply defaulting to the first branch. If you don't have a branch indicator in your current prompt, it's hard to tell what branch you're currently on.

ruyadorno commented 9 years ago

git uses a * to indicate the current branch on git branch, I'll try to change the current behavior to preserve this indicator.

in the current version all branch names are being cleaned up before invoking the interactive listing