Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in completion for git merge



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.



Messages sorted by: Reverse Date, Date, Thread, Author