separate declaration and initialization of local array variable
This commit is contained in:
parent
050924256e
commit
f260ea522f
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue