diff options
author | Robby Russell <robby@planetargon.com> | 2014-11-06 09:15:00 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-11-06 09:15:00 -0800 |
commit | 160abc9a8d49fcc8b334a88d9b877f3ee3935229 (patch) | |
tree | 7351b2938eabf265d32848b3e7950daf551c9169 /lib/git.zsh | |
parent | 2984d2dc4b1c38b17917e67c4b2564637838634f (diff) | |
parent | 9b811fb625c03c30a766191cdf65a1c7c1fd96b2 (diff) | |
download | zsh-160abc9a8d49fcc8b334a88d9b877f3ee3935229.tar.gz zsh-160abc9a8d49fcc8b334a88d9b877f3ee3935229.tar.bz2 zsh-160abc9a8d49fcc8b334a88d9b877f3ee3935229.zip |
Merge pull request #2323 from michaelorr/slow-git-fix
Renaming config for parse_git_dirty() to avoid collision
Diffstat (limited to 'lib/git.zsh')
-rw-r--r-- | lib/git.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git.zsh b/lib/git.zsh index 7aa5a0ea2..e1ca9b113 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -13,7 +13,7 @@ parse_git_dirty() { local SUBMODULE_SYNTAX='' local GIT_STATUS='' local CLEAN_MESSAGE='nothing to commit (working directory clean)' - if [[ "$(command git config --get oh-my-zsh.hide-status)" != "1" ]]; then + if [[ "$(command git config --get oh-my-zsh.hide-dirty)" != "1" ]]; then if [[ $POST_1_7_2_GIT -gt 0 ]]; then SUBMODULE_SYNTAX="--ignore-submodules=dirty" fi |