Skip to content

Commit

Permalink
Switch back to oh-my-zsh.hide-dirty setting again
Browse files Browse the repository at this point in the history
Commit 81004df reverted the change
in 9b811fb when editing the merge
conflict from ohmyzsh#2928.

This commit fixes that so that we don't make the same mistake again.

First seen in http://git.io/Cdaj5Q
  • Loading branch information
mcornella authored and fforw committed Feb 5, 2016
1 parent bbe1285 commit 9e050a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ parse_git_dirty() {
local STATUS=''
local FLAGS
FLAGS=('--porcelain')
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
FLAGS+='--ignore-submodules=dirty'
fi
Expand Down

0 comments on commit 9e050a4

Please sign in to comment.