Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#514955: patch completion broken: bad set of key/value pairs for associative array
- X-seq: zsh-workers 27204
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx, 514955@xxxxxxxxxxxxxxx
- Subject: Re: Bug#514955: patch completion broken: bad set of key/value pairs for associative array
- Date: Mon, 3 Aug 2009 21:57:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2Cf3AKcNPmB9MJf2qdMucCjsPeSjCYPEBWx4LpbkV2M=; b=VzrezLPiJc0OErnijUR9BxIQNSnK1MGCnZvvmlyu3TVRYOTkBaOGi9G+SbrOTYpidb lL17oRLKTvQgNF6yRTV3xZEHtmZSXko4M5Iww0xt3mTOj0cSCFUD5egYNywrHtQ0S3Az c9126WMCLR5mIv4BGdkUHAZnRPFDj+DTkfkH0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Cn+bJ0iOYXfl89LoOOiS8jXSN5LzLvr2U9vsaJYqap8XNO/5Ir4j8egBN9DLcJsDZw iEg3dAP+jzSu1SBGq3AKLWirCzftPLatjpe1U+EMzevY9zROxRsBo2k7Jz42QKebubsy zQfRqX0q0fLLbE0blK5/Sv5hH30UKXvN21UGI=
- In-reply-to: <20090212184212.GB25459@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090212091634.GA17364@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20090212184212.GB25459@xxxxxxxx>
2009/2/12 Clint Adams <schizo@xxxxxxxxxx>:
> On Thu, Feb 12, 2009 at 10:16:34AM +0100, martin f krafft wrote:
>> piper:~|master|.tmp/cdt.lalFLHgV/puppet-0.24.7% patch lib/<TAB>
>> _patch:11: bad set of key/value pairs for associative array
>> _patch:11: bad set of key/value pairs for associative array
>> _patch:11: bad set of key/value pairs for associative array
>> _patch:11: bad set of key/value pairs for associative array
>> piper:~|master|.tmp/cdt.lalFLHgV/puppet-0.24.7% patch lib/
>
> Oops.
>
> Index: Completion/Unix/Command/_patch
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_patch,v
> retrieving revision 1.3
> diff -u -r1.3 _patch
> --- Completion/Unix/Command/_patch 29 Jan 2009 15:54:43 -0000 1.3
> +++ Completion/Unix/Command/_patch 12 Feb 2009 18:41:06 -0000
> @@ -113,7 +113,8 @@
> '* --use-index-line *' '--use-index-line[deal with Index: line]'
> '* --patch-root=DIR *' '--patch-root=[restrict paths]:patch root:_files -/'
>
> - '* -U --unified-reject-files *' '(-U --unified-reject-files)'{-U,--unified-reject-files}'[create unified reject files]'
> + '* -U *' '(--unified-reject-files)-U[create unified reject files]'
> + '* --unified-reject-files *' '(-U)--unified-reject-files}[create unified reject files]'
> '* --global-reject-file=file *' '--global-reject-file=[put all rejects into one file]:file:_files'
> )
> _patch_args=(
There's a stray } there.
diff --git a/Completion/Unix/Command/_patch b/Completion/Unix/Command/_patch
--- a/Completion/Unix/Command/_patch
+++ b/Completion/Unix/Command/_patch
@@ -114,7 +114,7 @@ if (( ! $+_patch_args )); then
'* --patch-root=DIR *' '--patch-root=[restrict paths]:patch root:_files -/'
'* -U *' '(--unified-reject-files)-U[create unified reject files]'
- '* --unified-reject-files *' '(-U)--unified-reject-files}[create
unified reject files]'
+ '* --unified-reject-files *' '(-U)--unified-reject-files[create
unified reject files]'
'* --global-reject-file=file *' '--global-reject-file=[put all
rejects into one file]:file:_files'
)
_patch_args=(
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author