1
0
Fork 0
mirror of synced 2024-11-12 19:18:57 -05:00

separate declaration and initialization of local array variable

This commit is contained in:
KoharaKazuya 2016-01-12 21:35:35 +09:00
parent 050924256e
commit f260ea522f

View file

@ -2,7 +2,7 @@
# 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'