From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8320 invoked by alias); 15 Feb 2016 17:20:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37990 Received: (qmail 11688 invoked from network); 15 Feb 2016 17:20:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=f3hPDDouF2THzifieFICK8B2Ke8aPkz7NPn1WdNHpY4=; b=GEwQrh85yVfwgWcgNgTPYO0BHj+zZ2lzl5x8SoOS2t19YTjX1wClAKI5Mb5FFiyrRt mvJdeNLFVsfv244gWQcfRwC1BPvMWX/qbc3v9aZ437nqeKFw1jN7qUfD/rGgkmucdTmk oFIR5csxPR3Ag4gm3PTnP+a4F9t8F+bRoT63WA9SIR449VmSnPREErouo+AkZQd/fRZ0 uiQwv4EbSHgIZ0H1mnD0D7UHCPNPjCTQwuxoEAxLQ81a0IarVwbh67gju7n5HeXp2KJi Fl3rKVcdef5PF9InGd/D6nQVLz/XNERqz8yJv8BoAk1X34qAyivuXqT62sSjlAk2FLOz lDOw== X-Gm-Message-State: AG10YOR6OTYBtBA/Uju79bTTduPhvLUsAuF/tMGlOc4wn5QUphRPmzEwHhH3C4qvDn9qPQ== X-Received: by 10.13.197.194 with SMTP id h185mr9833360ywd.12.1455556833700; Mon, 15 Feb 2016 09:20:33 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Bug in completion for git merge From: Thomas Becker In-Reply-To: <160215085854.ZM27144@torch.brasslantern.com> Date: Mon, 15 Feb 2016 12:20:33 -0500 Cc: zsh-workers@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <8D34A413-897D-4D27-8FD4-4958FC0A90C4@gmail.com> References: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.com> <160215085854.ZM27144@torch.brasslantern.com> To: Bart Schaefer X-Mailer: Apple Mail (2.3112) Ahh sorry about that. That explains some of the other weirdness I=E2=80=99= ve been seeing. I=E2=80=99m 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 = wrote: >=20 > 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=3D(--all --not HEAD --not) >=20 > This syntax is correct in zsh 5.1 and later. Completion functions are > generally not backward-portable to older versions of the shell.