-
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
GIT_PS1_SHOWUPSTREAM like in bash_completion #110
Comments
👍 |
We just need someone motivated to work on that... |
It's a cool feature indeed, and I have produced a first draft for its implementation but I have two problems with it :
|
After a bit of testing, it seems that adding a git rev-list doesn't impact that much the overall performences of the See patched : time for i in `seq 1000`; do _lp_git_branch_color > /dev/null ; done
real 1m6.542s
user 0m9.009s
sys 0m9.573s Against unpatched : time for i in `seq 1000`; do _lp_git_branch_color > /dev/null ; done
real 1m1.605s
user 0m8.297s
sys 0m9.557s I'll do a pull request. |
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference.
#269 is now merged in develop. This is the implementation of |
as the activation of GIT_PS1_SHOWUPSTREAM option does for __git_ps1 the _lp_git_branch_color now compute how many commit we are ahead or behind of our remote reference. Conflicts: liquidprompt
It'll be nice to have the same information as in bash_completion (work also with zsh).
Thanks.
GIT_PS1_SHOWUPSTREAM
The text was updated successfully, but these errors were encountered: