Skip to content

Commit

Permalink
fixed introduced to parse_git_dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Orekhov committed Feb 8, 2012
1 parent 7ea7588 commit a9f6aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.zsh
Expand Up @@ -8,7 +8,7 @@ function git_prompt_info() {
# Checks if working tree is dirty
parse_git_dirty() {
local SUBMODULE_SYNTAX=''
if [[ POST_1_7_2_GIT -gt 0 ]]; then
if [[ $POST_1_7_2_GIT -gt 0 ]]; then
SUBMODULE_SYNTAX="--ignore-submodules=dirty"
fi
if [[ -n $(git status -s ${SUBMODULE_SYNTAX} 2> /dev/null) ]]; then
Expand Down

0 comments on commit a9f6aed

Please sign in to comment.