Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in completion for git merge
- X-seq: zsh-workers 37984
- From: Thomas Becker <twbecker@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug in completion for git merge
- Date: Mon, 15 Feb 2016 10:41:48 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=aJ0n3WAbKXwzGteD6Ah1y1aBhOL5mrazYZwEbyQ7sho=; b=ekaaJ2Iyelb0h45Lg3qhVPcAIoZztkH0/B3pGr1RpdM1wQJIAvpETbokdvDWpNkNnr v2XRU0S8nf8UElMV7bwOGzInhAi3bKcsK1OBArupK0/k0GWb66WWb7CN8XK1vtYbn5ua JFzlwpnWDPWSMsrdVSukmNGDMgbO75pfPAxZhIk1Bno7Knfmci0lv0w3ZGi486Y75u35 EDiNuNcJNxns9ahuwudJB2QBWXPELUayHSTpNx8XMWp+FL5F61mRmrHfhiHsU+XFCU/b wW047GQCmuO/Ym3/OL91NfJjO63hC5X6NsipPAJbiq1Xrncm1HzGdJuklJdXj1GRks97 J1ow==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author