0222e774978232c03795b0e858d105aba6ed8123

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3333 from mcornella/fix-git-hide-dirty

Switch back to oh-my-zsh.hide-dirty setting again

Diff

 1diff --git a/lib/git.zsh b/lib/git.zsh
 2index aba0954222f66c8fafae0f3f3149a36e3a6297e2..748520a6fa3dd2a48de8b3b619dec8a0f73abd26 100644
 3--- a/lib/git.zsh
 4+++ b/lib/git.zsh
 5@@ -13,7 +13,7 @@ parse_git_dirty() {
 6   local STATUS=''
 7   local FLAGS
 8   FLAGS=('--porcelain')
 9-  if [[ "$(command git config --get oh-my-zsh.hide-status)" != "1" ]]; then
10+  if [[ "$(command git config --get oh-my-zsh.hide-dirty)" != "1" ]]; then
11     if [[ $POST_1_7_2_GIT -gt 0 ]]; then
12       FLAGS+='--ignore-submodules=dirty'
13     fi