Subject: Re: Bug in completion for git merge
From: Bart Schaefer <[email-masked]>
To: Thomas Becker <[email-masked]>, [email-masked]
Date: Mon, 15 Feb 2016 08:58:54 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Feb 15, 10:41am, Thomas Becker wrote:
}
} There seems to be a bug in the completion for git merge; the
} completion function uses the following statement to both declare and
} initialize an array, which from what I can tell is not allowed:
}
} local -a git_commit_opts=(--all --not HEAD --not)

This syntax is correct in zsh 5.1 and later.  Completion functions are
generally not backward-portable to older versions of the shell.