fboender / multi-git-status

Show uncommitted, untracked and unpushed changes for multiple Git repos
MIT License
470 stars 73 forks source link

show current branch name in output #24

Open instantiator opened 5 years ago

instantiator commented 5 years ago

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

fboender commented 5 years ago

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?

instantiator commented 5 years ago

Yep no problem - and thanks for the feedback!