[prompt] fix gitster local var
separate declaration and initialization of local array variable Closes #21
This commit is contained in:
parent
050924256e
commit
b23f7ec6d9
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
# not supporting git < 1.7.2; upgrade your shit
|
# not supporting git < 1.7.2; upgrade your shit
|
||||||
|
|
||||||
local STATUS=''
|
local STATUS=''
|
||||||
local FLAGS=('--porcelain' '--ignore-submodules=dirty')
|
local FLAGS
|
||||||
|
FLAGS=('--porcelain' '--ignore-submodules=dirty')
|
||||||
if [[ ${zgit_hide_prompt} != 'true' ]]; then
|
if [[ ${zgit_hide_prompt} != 'true' ]]; then
|
||||||
if [[ "${zgit_disable_untracked_dirty}" == "true" ]]; then
|
if [[ "${zgit_disable_untracked_dirty}" == "true" ]]; then
|
||||||
FLAGS+='--untracked-files=no'
|
FLAGS+='--untracked-files=no'
|
||||||
|
|
Loading…
Reference in a new issue