multi-git-status icon indicating copy to clipboard operation
multi-git-status copied to clipboard

show current branch name in output

Open instantiator opened this issue 4 years ago • 2 comments

A small unsolicited change to show the currently checked out branch in the output.

instantiator avatar Aug 14 '19 09:08 instantiator

I like it, but currently it breaks backwards compatibility in the output. Some people may be parsing the output of mgitstatus for use in scripts, and may expect everything before the ':' to be the relative path to the repo.

Can you make it an optional feature by introducing a new commandline flag? Something like '--branch' maybe?

fboender avatar Aug 14 '19 17:08 fboender

Yep no problem - and thanks for the feedback!

instantiator avatar Aug 19 '19 10:08 instantiator