Closed vbschettino closed 5 years ago
Hey Vinicius!
Thanks for this! This is useful for me personally since nearly every project I work on works on the master branch, and now I can easily tell if I'm accidentally working on a different branch. I think you're right in saying that it might not be the preferred behaviour for most users. I know many projects that work on a "develop" branch, or on feature branches.
I looked into modifying your merge request to show when you're not on the default branch. But git has no such concept, which makes sense.
So I'm not going to merge this pull request for the official version of multi-git-status, but I'm using your patch in my own version. Thanks!
Show name of branch currently active alongside repo's name. If that branch is not "master", display the name in purple.
I'm not sure if this would be the preferred behaviour for most users, but it is quite helpful for me, so I thought I would share.
In any case, thanks a lot for sharing this! Very handy script.