Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in completion for git merge
- X-seq: zsh-workers 37990
- From: Thomas Becker <twbecker@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug in completion for git merge
- Date: Mon, 15 Feb 2016 12:20:33 -0500
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=f3hPDDouF2THzifieFICK8B2Ke8aPkz7NPn1WdNHpY4=; b=ktJAd95o54/37trkqXWL6lb0zbtPK7vemRLGP5obxWSlzij7EAxfe6RKrWcx8CKfCC /f39dvnhfukqSkKY/41z0zSMVandWh3UFqD0msTO2k8XPrrx9oixK2v0mwuH98aKlmqV Ue6wcGdsHdTXY6TV1UvL6FLS+0vjCOCA3FtdTHg6jjaPUWPBUyd3rgu5nbHD5yxdOo7C Vy7NZwCz+stJHMEh4ug2VwvSvyXmdjmdEMbYOCmTFbwRe6jiJmNaTou6PJCSkEvJnjw3 c0HlTDDg+brtqqcgwoMh1v00ykq+F2USy4NGL8MS/M40mrxmm2byXgWx/cpNkm4ItNOq eTmg==
- In-reply-to: <160215085854.ZM27144@torch.brasslantern.com>
- 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
- References: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.com> <160215085854.ZM27144@torch.brasslantern.com>
Ahh sorry about that. That explains some of the other weirdness I’ve been seeing. I’m trying to upgrade my completion to something that knows about newer git options than what is provided in 5.0.5. Is there any way to do that? Thanks.
> On Feb 15, 2016, at 11:58 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> 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