Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed introduced to parse_git_dirty

  • Loading branch information...
commit a9f6aed307f128a58176b151bc36854c9d3899f7 1 parent 7ea7588
Aleksey Orekhov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/git.zsh
2  lib/git.zsh
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.