From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14297 invoked by alias); 15 Feb 2016 16:58:37 -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: 37986 Received: (qmail 16190 invoked from network); 15 Feb 2016 16:58: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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=UJWgAtWIJwpG05Vakt/8Jwdr9ifLv1OTx6reiX9QwnE=; b=Fe6Xl/8VVomjiq0ZUS+npgOxy6TciW9IcfBDhQX4Cnkmval5iJXQqmd0FoV2bY5DAi prdh4DnwmE139vZrDZn5ptpb34K+T6YdJAtn6dnRFlzWAWOxOpznJlhFa/0j7R98zgfW TRvKaFvQIrqRDGWjEowbTZOgBaaz4mn2LQ4V56ZFX6iS06oCw42+EOlahYX4nbu8Syho +h4iuzXR6htetrzwTTrx6TvdLc1rgd/nnGR63z7QJKPUi/6ifMv1UePOmPJ3uTr0pZTy jlUMfbX+8DLUIBU7+Vh140h7RRrqxlt2zDsHTzl2qSjwX4QQoXaiu0PvRweEYpts72NH JfjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=UJWgAtWIJwpG05Vakt/8Jwdr9ifLv1OTx6reiX9QwnE=; b=CG5LvQ8G8qexbrk9LrXEsHTeoKRntZSRiFyqXQiWMBp/q6UurRVJQxf87IA6zAeEWF sgs46Fd4oCRhO0AARW2KTjLlZOLyxmc9HygJ260Rq+n07ZwSCRRjoXeZqc9f6clzTpKC yVknFOb0g42ufZI7+MIjFGZvz2iB8E4naWDgquIPsuA3DpUQkDKCwxxqI1B75uGHeKr9 dO0j4gzPCCoxQ2HE3hso3VjsCYeAsmY11Wra47DI2RTFr6WJL731Pg5EYTcKv2Bw7WdS 7ak3XeKZjy6PMEXb8gVWKzJNpb/d1CMPNRapX0Ddhvu6R7X5UoUsH2gBOGvlfJfxkRKn /POw== X-Gm-Message-State: AG10YOQLNTv5oc4U1co4EDwHGTEL661bcaIfN7+8o8tc3oxgONoYRLZ8mDmheyePy2rm4g== X-Received: by 10.66.228.201 with SMTP id sk9mr24681735pac.1.1455555514741; Mon, 15 Feb 2016 08:58:34 -0800 (PST) From: Bart Schaefer Message-Id: <160215085854.ZM27144@torch.brasslantern.com> Date: Mon, 15 Feb 2016 08:58:54 -0800 In-Reply-To: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.com> Comments: In reply to Thomas Becker "Bug in completion for git merge" (Feb 15, 10:41am) References: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Thomas Becker , zsh-workers@zsh.org Subject: Re: Bug in completion for git merge MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.