- 16 Jan, 2021 1 commit
-
-
Marc Cornellà authored
Closes #6391 Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
-
- 02 Jan, 2021 1 commit
-
-
Seamile authored
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes. This change marks that case as MODIFIED instead of ADDED.
-
- 10 Dec, 2020 2 commits
-
-
Marc Cornellà authored
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188).
-
Bruno Borges authored
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM` is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-
- 10 Oct, 2020 1 commit
-
-
Marc Cornellà authored
Fixes #9326
-
- 09 Oct, 2020 3 commits
-
-
Marc Cornellà authored
- Fix 'STASHED' key and unsupported syntax in 5.0.2 - Optimise `if` statement to make it more idiomatic.
-
Billy Conn authored
-
Michał Dębski authored
Closes #4912 Closes #5137 Closes #8071
-
- 06 Jul, 2020 1 commit
-
-
Robert Estelle authored
-
- 30 Jun, 2020 1 commit
-
-
Patrick Moore authored
DISABLE_UNTRACKED_FILES_DIRTY, DISABLE_AUTO_TITLE, GIT_STATUS_IGNORE_SUBMODULES are not set Handle these variables not being set with conditional access. If the user has set -u option to report attempts to use undeclared / unassigned variable, accessing the variables needs to be conditional.
-
- 10 Feb, 2020 1 commit
-
-
Evan Chiu authored
Closes #4989 Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-
- 06 Nov, 2019 3 commits
-
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Wang Guan authored
$GIT_STATUS_IGNORE_SUBMODULES can be used to specify handling of submodules. It can be: not set : ignore dirty submodules (this was default zsh behavior) "git" : do not use "--ignore-submodules" and let git choose, this obeys setting in .gitmodules other : comes into "--ignore-submodules=$GIT_STATUS_IGNORE_SUBMODULES"
-
- 09 Apr, 2019 1 commit
-
-
Marc Cornellà authored
The 1.7.2 release was published in July 2010 [1]. It's about time to stop supporting older versions. Fixes #4583 [1] https://github.com/git/git/releases/tag/v1.7.2
-
- 08 Sep, 2018 1 commit
-
-
Marc Cornellà authored
Fixes #7118
-
- 15 Apr, 2018 1 commit
-
-
Jacopo De Simoi authored
If @{u} is not defined, git rev-list will give an error; redirect to stderr the error and deal with this case in what follows.
-
- 23 Jan, 2018 1 commit
-
-
Kimberly Zick authored
Add match for `MM` (result of `git commit -p` on a single changed file) to git_prompt_status (#3632)
-
- 14 Nov, 2017 1 commit
-
-
catull authored
With zsh 5.4 a simple "local FLAGS" meant as an array must be explicitly declared so. This fix avoids the dreaded "parse_git_dirty:3: FLAGS: attempt to assign array value to non-array". (#6414)
-
- 07 Sep, 2016 1 commit
-
-
Yuichi Tanikawa authored
-
- 05 Sep, 2016 1 commit
-
-
Marc Cornellà authored
This fixes old git_commits_ahead behavior and changes git_commits_behind to have the same behavior. Fixes #5355
-
- 01 Aug, 2016 1 commit
-
-
Steven authored
* 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 Jul, 2016 1 commit
-
-
Steven authored
* Added git_commits_behind function * Added 'command' to git_commits_behind function * git_commits_behind code review changes
-
- 31 Mar, 2016 1 commit
-
-
Aesop Wolf authored
-
- 13 Jan, 2016 1 commit
-
-
Michele Bologna authored
Re-added $ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE variable which was removed in 9f552130
-
- 17 Dec, 2015 1 commit
-
-
Marc Cornellà authored
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 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
-