diff --git a/modules/git/functions/parse_git_dirty b/modules/git/functions/parse_git_dirty index 6a0f0ea..1b8be78 100644 --- a/modules/git/functions/parse_git_dirty +++ b/modules/git/functions/parse_git_dirty @@ -2,7 +2,8 @@ # not supporting git < 1.7.2; upgrade your shit local STATUS='' -local FLAGS=('--porcelain' '--ignore-submodules=dirty') +local FLAGS +FLAGS=('--porcelain' '--ignore-submodules=dirty') if [[ ${zgit_hide_prompt} != 'true' ]]; then if [[ "${zgit_disable_untracked_dirty}" == "true" ]]; then FLAGS+='--untracked-files=no'