Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show current branch name in output #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

show current branch name in output #24

wants to merge 1 commit into from

Conversation

instantiator
Copy link

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

@fboender
Copy link
Owner

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
Copy link
Author

Yep no problem - and thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants