- 15 Dec, 2015 1 commit
-
-
Andrew Janke authored
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 Sep, 2015 2 commits
-
-
Michele Bologna authored
-
Michele Bologna authored
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 Jun, 2015 1 commit
-
-
Michele Bologna authored
ahead and diverged remote, I added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE.
-
- 10 Jun, 2015 2 commits
-
-
Adam Lindberg authored
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 authored
-
- 19 Nov, 2014 1 commit
-
-
Marc Cornellà authored
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 Nov, 2014 1 commit
-
-
DanielFGray authored
-
- 03 Jul, 2014 2 commits
-
-
Simon Buchan authored
-
Simon Buchan authored
-
- 28 Jun, 2014 2 commits
-
-
Albert Krewinkel authored
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 authored
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
-
- 10 Jun, 2014 1 commit
-
-
ncanceill authored
before, 128 was returned, which could display an error, but out of a git repo this should exit silently fixes #2226
-
- 26 May, 2014 1 commit
-
-
r3dDoX authored
-
- 25 May, 2014 2 commits
- 06 Dec, 2013 1 commit
-
-
Michael Orr authored
accidentally blew away a git config setting used for another purpose, renaming in order to distinguish
-
- 20 Nov, 2013 1 commit
-
-
Michael Orr authored
-
- 12 Jun, 2013 1 commit
-
-
Theodore Kokkoris authored
-
- 19 May, 2013 1 commit
-
-
Christopher Roach authored
-
- 22 Apr, 2013 1 commit
-
-
Jeremy Attali authored
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 Apr, 2013 1 commit
-
-
Felipe Contreras authored
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: Felipe Contreras <felipe.contreras@gmail.com>
-
- 04 Apr, 2013 1 commit
-
-
Christian Höltje authored
The grep expression was incorrect for normal grep. Adding the `-E` option fixed the escaping of the question marks.
-
- 13 Mar, 2013 1 commit
-
-
Philip Stark authored
-
- 11 Mar, 2013 1 commit
-
-
bertag authored
Tweaked parse_git_dirty() in lib/git.zsh to support proper dirty/clean parsing against both git 1.6 and git 1.7+
-
- 19 Feb, 2013 1 commit
-
-
Thomas Minor authored
-
- 13 Feb, 2013 2 commits
-
-
Yoav Weiss authored
# 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
-
Yoav Weiss authored
-
- 30 Jan, 2013 1 commit
-
-
Yoav Weiss authored
-
- 27 Jan, 2013 1 commit
-
-
Yoav Weiss authored
-
- 07 Dec, 2012 1 commit
-
-
MAD authored
-
- 31 Jul, 2012 1 commit
-
-
Ted Vessenes authored
-
- 29 Jul, 2012 1 commit
-
-
Caio Romão authored
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="
↕ "
-
- 18 Apr, 2012 1 commit
-
-
Martin Meredith authored
For certain git repositories, this slows down usage of the shell horifically. This option can be set with git config --add oh-my-zsh.hide-status 1 which will disable checking/showing the status notification
-
- 21 Feb, 2012 1 commit
-
-
cruser42 authored
-
- 08 Feb, 2012 3 commits
-
-
Aleksey Orekhov authored
-
Aleksey Orekhov authored
-
Aleksey Orekhov authored
-
- 27 Jan, 2012 1 commit
-
-
Carlos Rodriguez authored
-
- 26 Jan, 2012 1 commit
-
-
Tadaya Tsuyukubo authored
-