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
lib/git.zsh: Added git_commits_behind function #4450
Conversation
be63daa
to
0dcf551
Compare
👍 |
👍 |
1 similar comment
👍 |
aed2d5f
to
11c9158
Compare
11c9158
to
67d19b2
Compare
67d19b2
to
5d4d65c
Compare
Is this PR just in need of tester confirmation? I'd love to help out. |
I'd expect this function to follow the same convention as the |
Ignore my last algorithm suggestion. It seems the fastest more concise way to get this is using
No need for |
43e4d2d
to
f129fe2
Compare
aea7c94
to
756494c
Compare
Changes were made and are ready for review/testing. |
LGTM |
* 'master' of github.com:robbyrussell/oh-my-zsh: (44 commits) lib/git.zsh: Added git_commits_behind function (ohmyzsh#4450) Rename getgb plugin to gb Rename gb completion file to more conventional _gb Fix formatting of gb plugin completion Add more information to the README Add README to gb plugin Add plugin for Gb completion (http://getgb.io) bundler plugin: Simplify retrieval of cpu count on OSX (ohmyzsh#5180) Fix gfg function completion definition Fix man-preview completion definition Fix issue with `dash` as the default `/bin/sh` script executing program. (ohmyzsh#5177) znt: update to v2.2.1 (ohmyzsh#5174) emacs plugin tweak to open buffer from stdin (ohmyzsh#5126) Update taskwarrior completion to 2.5.1 (ohmyzsh#5171) Remove undesirable hardcoding of PATH into zshrc (ohmyzsh#4925) Add README for OSX plugin and refactor plugin file Open finder to PWD - part 2 (ohmyzsh#5165) Add ofd() to OSX plugin to open finder on current directory (ohmyzsh#5164) add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (ohmyzsh#5153) Peepcode theme: Don't try to use RVM if it's not available (ohmyzsh#5154) ...
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* origin/master: Fix hg call when missing on archlinux with command-not-found (ohmyzsh#5218) adding python virtualenv support to the prompt (ohmyzsh#5031) Updated _docker-compose to the latest version (from 0.1.0 to 1.5.0). (ohmyzsh#5215) Update emacs plugin. (ohmyzsh#5201) Remove warning lines from phing completion Cleans up phing plugin. lib/git.zsh: Added git_commits_behind function (ohmyzsh#4450)
* 'master' of https://github.com/robbyrussell/oh-my-zsh: Fix hg call when missing on archlinux with command-not-found (ohmyzsh#5218) adding python virtualenv support to the prompt (ohmyzsh#5031) Updated _docker-compose to the latest version (from 0.1.0 to 1.5.0). (ohmyzsh#5215) Update emacs plugin. (ohmyzsh#5201) Remove warning lines from phing completion Cleans up phing plugin. lib/git.zsh: Added git_commits_behind function (ohmyzsh#4450) Rename getgb plugin to gb Rename gb completion file to more conventional _gb Fix formatting of gb plugin completion Add more information to the README Add README to gb plugin Add plugin for Gb completion (http://getgb.io)
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
When updating my git prompt, I noticed there was a function for git_commits_ahead, but not one for git_commits_behind. The whitespace edit was an unintentional side effect from emacs.