zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@sunsite.dk, 514955@bugs.debian.org
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	[thread overview]
Message-ID: <237967ef0908031257j32b594a3y2c561c660f7eff62@mail.gmail.com> (raw)
In-Reply-To: <20090212184212.GB25459@scru.org>

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


      reply	other threads:[~2009-08-03 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090212091634.GA17364@piper.oerlikon.madduck.net>
2009-02-12 18:42 ` Clint Adams
2009-08-03 19:57   ` Mikael Magnusson [this message]

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=237967ef0908031257j32b594a3y2c561c660f7eff62@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=514955@bugs.debian.org \
    --cc=zsh-workers@sunsite.dk \
    /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).