- 08 9月, 2016 1 次提交
-
-
由 Yuichi Tanikawa 提交于
-
- 05 9月, 2016 1 次提交
-
-
由 Marc Cornellà 提交于
This fixes old git_commits_ahead behavior and changes git_commits_behind to have the same behavior. Fixes #5355
-
- 01 8月, 2016 1 次提交
-
-
由 Steven 提交于
* Function wasn't returning correct value * Updated underlying git command * Kept echo command from previous function for backwards compatibility * Kept function consistent with git_commits_behind
-
- 15 7月, 2016 1 次提交
-
-
由 Steven 提交于
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
-
- 01 4月, 2016 1 次提交
-
-
由 Aesop Wolf 提交于
-
- 13 1月, 2016 1 次提交
-
-
由 Michele Bologna 提交于
Re-added $ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE variable which was removed in 9f552130
-
- 18 12月, 2015 1 次提交
-
-
由 Marc Cornellà 提交于
In places, the local statement will override the exit code and the written command won't have the effect intended when it was written. For example, when it's not inside a git repo the exit code won't be true, but the local statement will make it true regardless. See #4708.
-
- 15 12月, 2015 1 次提交
-
-
由 Andrew Janke 提交于
Fixes #4085: core -> plugin dependency issue. Rename it to git_current_branch for clarity that it's git-specific. Update all plugins that were calling it to use new name. Fix variable leaks by making more variables in lib/git.zsh local. Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
-
- 23 9月, 2015 2 次提交
-
-
由 Michele Bologna 提交于
-
由 Michele Bologna 提交于
Uniform git prompt equal remote to all others prompts, setting the correct symbol (if applicable) to $git_remote_status, instead of echoing it. It also solves the problem pointed out in #3911
-
- 15 6月, 2015 1 次提交
-
-
由 Michele Bologna 提交于
ahead and diverged remote, I added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE.
-
- 10 6月, 2015 2 次提交
-
-
由 Adam Lindberg 提交于
This adds two new theme functions for git: * `git_prompt_behind` works in a identical fashion to `git_prompt_ahead` and will output a format variable (`ZSH_THEME_GIT_PROMPT_BEHIND`) if the branch is behind. * `git_prompt_remote` will output one format variable if the branch exists on remote (`ZSH_THEME_GIT_PROMPT_REMOTE_EXISTS`), and another if the branch is unpublished (`ZSH_THEME_GIT_PROMPT_REMOTE_MISSING`). The old `git_prompt_ahead` has been changed. Using git log is subject to formatting in .gitconfig, which can be overridden and will break this function. Relying on rev-list is much more stable.
-
由 leif.hanack 提交于
-
- 20 11月, 2014 1 次提交
-
-
由 Marc Cornellà 提交于
Commit 81004dfa reverted the change in 9b811fb6 when editing the merge conflict from #2928. This commit fixes that so that we don't make the same mistake again. First seen in http://git.io/Cdaj5Q
-
- 16 11月, 2014 1 次提交
-
-
由 DanielFGray 提交于
-
- 03 7月, 2014 2 次提交
-
-
由 Simon Buchan 提交于
-
由 Simon Buchan 提交于
-
- 28 6月, 2014 2 次提交
-
-
由 Albert Krewinkel 提交于
Merged from #2906 The function `git_prompt_info` calls `git config` for its stdout output, but doesn't handle the stderr output. This can lead to problems, e.g. if the git config file is unreadable for some reason (permissions etc). This fixes the issue by simply ignoring the stderr output.
-
由 Mikhail S. Pobolovets 提交于
Signed-off-by: NMikhail S. Pobolovets <styx.mp@gmail.com>
-
- 10 6月, 2014 1 次提交
-
-
由 ncanceill 提交于
before, 128 was returned, which could display an error, but out of a git repo this should exit silently fixes #2226
-
- 26 5月, 2014 1 次提交
-
-
由 r3dDoX 提交于
-
- 25 5月, 2014 2 次提交
- 07 12月, 2013 1 次提交
-
-
由 Michael Orr 提交于
accidentally blew away a git config setting used for another purpose, renaming in order to distinguish
-
- 21 11月, 2013 1 次提交
-
-
由 Michael Orr 提交于
-
- 13 6月, 2013 1 次提交
-
-
由 Theodore Kokkoris 提交于
-
- 20 5月, 2013 1 次提交
-
-
由 Christopher Roach 提交于
-
- 22 4月, 2013 1 次提交
-
-
由 Jeremy Attali 提交于
In this commit, the option only works for git but it should not be to hard for someone who knows svn to so the same. This commit is largely inspired by @yoavweiss, I only added an option to use it.
-
- 21 4月, 2013 1 次提交
-
-
由 Felipe Contreras 提交于
If oh-my-zsh.hide-status is configured, the 'clean' code won't be generated, and some themes might end up distorted. Let's generate the 'clean' code even when we don't want the show the dirty status. Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
-
- 04 4月, 2013 1 次提交
-
-
由 Christian Höltje 提交于
The grep expression was incorrect for normal grep. Adding the `-E` option fixed the escaping of the question marks.
-
- 14 3月, 2013 1 次提交
-
-
由 Philip Stark 提交于
-
- 12 3月, 2013 1 次提交
-
-
由 bertag 提交于
Tweaked parse_git_dirty() in lib/git.zsh to support proper dirty/clean parsing against both git 1.6 and git 1.7+
-
- 20 2月, 2013 1 次提交
-
-
由 Thomas Minor 提交于
-
- 14 2月, 2013 1 次提交
-
-
由 Yoav Weiss 提交于
# Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: git.zsh #, ignoring untracked files, which seems to be the primary cause for slowness
-
- 13 2月, 2013 1 次提交
-
-
由 Yoav Weiss 提交于
-
- 30 1月, 2013 1 次提交
-
-
由 Yoav Weiss 提交于
-
- 27 1月, 2013 1 次提交
-
-
由 Yoav Weiss 提交于
-
- 07 12月, 2012 1 次提交
-
-
由 MAD 提交于
-
- 01 8月, 2012 1 次提交
-
-
由 Ted Vessenes 提交于
-
- 30 7月, 2012 1 次提交
-
-
由 Caio Romão 提交于
This patch makes git_prompt_status support three new status variables: - ZSH_THEME_GIT_PROMPT_AHEAD - ZSH_THEME_GIT_PROMPT_BEHIND - ZSH_THEME_GIT_PROMPT_DIVERGED With these extra variables it's easy to see (1) if you have commits in your local branch that weren't pushed to the remote (AHEAD), (2) if there are commits in the remote that you haven't merged/rebased yet (BEHIND) or (3) if you have local unpushed commits AND the remote has some commits you haven't merged yet (DIVERGED). Refer to the first line displayed on `git status -b --porcelain`. An example setup in a .zsh-theme file would be: ZSH_THEME_GIT_PROMPT_AHEAD="↑" ZSH_THEME_GIT_PROMPT_BEHIND="↓" ZSH_THEME_GIT_PROMPT_DIVERGED="
↕ "
-