zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Thomas Becker <twbecker@gmail.com>, zsh-workers@zsh.org
Subject: Re: Bug in completion for git merge
Date: Mon, 15 Feb 2016 08:58:54 -0800	[thread overview]
Message-ID: <160215085854.ZM27144@torch.brasslantern.com> (raw)
In-Reply-To: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.com>

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.


  reply	other threads:[~2016-02-15 16:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 15:41 Thomas Becker
2016-02-15 16:58 ` Bart Schaefer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160215085854.ZM27144@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=twbecker@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).