zsh-workers
 help / color / mirror / code / Atom feed
* Bug in completion for git merge
@ 2016-02-15 15:41 Thomas Becker
  2016-02-15 16:58 ` Bart Schaefer
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Becker @ 2016-02-15 15:41 UTC (permalink / raw)
  To: zsh-workers

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)

I traced the addition of this to the following patch:

http://www.zsh.org/mla/workers//2015/msg02947.html

The code as written results in the following when invoking tab completion on git merge:

arda:~/.dotfiles $ git merge
_git-merge:3: number expected
_git-merge:3: number expected
_git-merge:3: number expected



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-16 14:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-15 15:41 Bug in completion for git merge Thomas Becker
2016-02-15 16:58 ` Bart Schaefer
2016-02-15 17:20   ` Thomas Becker
2016-02-16  3:02     ` Eric Cook
2016-02-16 10:49       ` Daniel Shahaf
2016-02-16 14:08         ` Eric Cook
2016-02-16 10:49     ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).