On Mon, 23 May 2016 22:54:09 +0200 Ulrich Mueller wrote: > >>>>> On Mon, 23 May 2016, Michał Górny wrote: > > > +if [[ ${EGIT_SUBMODULES[@]+1} && $(declare -p EGIT_SUBMODULES) != "declare -a"* ]] > > +then > > + die 'EGIT_SUBMODULES must be an array.' > > +fi > > Must this test be in global scope? I can move it somewhere else, I guess. -- Best regards, Michał Górny