Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in completion for git merge
- X-seq: zsh-workers 37986
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Thomas Becker <twbecker@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Bug in completion for git merge
- Date: Mon, 15 Feb 2016 08:58:54 -0800
- 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==
- In-reply-to: <6E7E611B-CA0B-4F79-B775-7D100CA9017B@gmail.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>
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