-
Notifications
You must be signed in to change notification settings - Fork 424
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
Alternative Git Status details? #524
Comments
Maybe we can add an option for displaying details or not, something like |
That sounds great too! Also another thing, could we split them into different functions? For example:
And then they will be conditionally called from the current I'm not sure if adding extra functions will cause any performance hit. They are loaded only once during startup, so I don't think an extra 2 or 3 functions will cause noticeable performance hit. But, as I said, I'm not sure. The upside of using separate functions is that, if users want to tweak the behavior of any specific function, they can override it easily after |
On another note, even if you don't like the extra colon (i.e. When you read But, when you read It's a very minor detail, I know, but just pointing it out. |
Just try and have a look at performances, if it have a minor effect, OK for two functions. You've got a point on letter/number order. I would also add that one should look for unicode symbols, too (we already have both in |
I would really like to see the number of stashed changes in the prompt. Stashed changes are something I am always forgetting. |
@brianmay I usually see a + in the prompt when I have stashed changes. It doesn't list the number, but is the notification that you have one or more enough to remind you to |
Strange, I never saw a plus in the prompt when there were stashed changes. However, I was using the last official release, 1.11, which might be somewhat old. In any case, have switched to another solution now. |
I now think that the VCS design should be more oriented toward a simple workflow of "what needs to be done now", just like the Oh-my-git prompt. |
Chiming in here, I'm also keen for a lot more customisability on the VCS side. Currently I just have it disabled, in favour of my own version that takes up much less room than the standard >12 characters. |
Merged a reworked version of @MunifTanjim's PR #525 as #635. This adds a separate theme For those that wanted a simpler way to modify the VCS display, check out the implementation of that new theme in |
Current Behaviour
Prompt shows line differences as git status. e.g.:
master(+27,-20)
Proposed Behaviour
I assume, the current behavior works alright with many people, as nobody has said anything about it. But if I have difference with thousands of lines that info is of little use. Rather a shortened info about
git status
would be more helpful. Such as: if there are 3 staged files, 2 unstaged files and 2 untracked files, the prompt could show:master(S:3 U:2 ?:2)
Is there any plan for adding this feature? It can be implemented behind an optional variable, without breaking any default behavior. I've already implemented this feature on my personal repository. If adding this feature causes no problem, I can send a PR.
The text was updated successfully, but these errors were encountered: