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

Git dirty segment #83

Open
silenc3r opened this issue Jul 17, 2020 · 1 comment
Open

Git dirty segment #83

silenc3r opened this issue Jul 17, 2020 · 1 comment

Comments

@silenc3r
Copy link
Contributor

Most of the time you don't need your status line to show how many lines in git repo have been changed. Simple indicator if something has been changed or not is good enough.

It would be nice if sbp could display git info like https://github.com/rafaelrinaldi/pure, i.e. when there are no modifications just display master when there are some modifications display master*.

@brujoand
Copy link
Owner

Yeah this should be pretty straight forward to add through a flag SEGMENTS_GIT_DIRTY_DETAILED=0 which could just clob the different dirty states into ' ' or '*'.

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

No branches or pull requests

2 participants