From 0fa7480793c24919b963cd55245c88f86533cf43 Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Sun, 12 Jan 2014 12:26:31 +0100 Subject: [PATCH] Include fix #2323 for wrong config check Include fix #2323 in this PR. --- lib/git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.zsh b/lib/git.zsh index 3ceeff9b21ad..e1de2ac34859 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 2> /dev/null)" != "1" ]]; then + if [[ "$(command git config --get oh-my-zsh.hide-dirty 2> /dev/null)" != "1" ]]; then if [[ $POST_1_7_2_GIT -gt 0 ]]; then SUBMODULE_SYNTAX="--ignore-submodules=dirty" fi