Commit a9f6aed3 authored by Aleksey Orekhov's avatar Aleksey Orekhov
Browse files

fixed introduced to parse_git_dirty

parent 7ea75883
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment