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

gr status column headers and long branch names #77

Open
shousper opened this issue Oct 26, 2017 · 1 comment
Open

gr status column headers and long branch names #77

shousper opened this issue Oct 26, 2017 · 1 comment

Comments

@shousper
Copy link

Hi, long time user, first time bug/feature report.

The recent additions to include the current branch name and remote status information have kind of ruined the gr status output for me.
Our branches are usually anywhere from 20-40 characters long. Sadly this means the output looks something like this:

~/Source/project-a          feature/ABCD-17000-banana 3 modified   [ahead 1, behind 4]@app
~/Source/project-b          master         Clean                     @lib

Could the output here automatically line things up in a more table-like layout, maybe it's also time to add some column headings?
The branch names could even be intelligently truncated if they're too long on a terminal window that isn't wide enough, likewise for the ahead/behind output.
If this stuff was configurable in the .grconfig it could make it easier to release the feature without forced adoption too ;)

Let me know what you think, cheers.

@mixu
Copy link
Owner

mixu commented Oct 26, 2017

yeah I think making these configurable seems reasonable. I don't have the bandwidth to make that happen soon, but if you have a bit of time I'd be happy to accept a PR!

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