zsh-workers
 help / color / mirror / code / Atom feed
* Re: Bug#514955: patch completion broken: bad set of key/value pairs for associative array
       [not found] <20090212091634.GA17364@piper.oerlikon.madduck.net>
@ 2009-02-12 18:42 ` Clint Adams
  2009-08-03 19:57   ` Mikael Magnusson
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2009-02-12 18:42 UTC (permalink / raw)
  To: zsh-workers; +Cc: martin f krafft, 514955

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=(


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug#514955: patch completion broken: bad set of key/value pairs  for associative array
  2009-02-12 18:42 ` Bug#514955: patch completion broken: bad set of key/value pairs for associative array Clint Adams
@ 2009-08-03 19:57   ` Mikael Magnusson
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Magnusson @ 2009-08-03 19:57 UTC (permalink / raw)
  To: zsh-workers, 514955

2009/2/12 Clint Adams <schizo@debian.org>:
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-03 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090212091634.GA17364@piper.oerlikon.madduck.net>
2009-02-12 18:42 ` Bug#514955: patch completion broken: bad set of key/value pairs for associative array Clint Adams
2009-08-03 19:57   ` Mikael Magnusson

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).