From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11802 invoked from network); 12 Feb 2009 18:42:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Feb 2009 18:42:29 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 66833 invoked from network); 12 Feb 2009 18:42:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Feb 2009 18:42:23 -0000 Received: (qmail 9532 invoked by alias); 12 Feb 2009 18:42:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26565 Received: (qmail 9519 invoked from network); 12 Feb 2009 18:42:18 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Feb 2009 18:42:18 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 102D280271F0 for ; Thu, 12 Feb 2009 19:42:15 +0100 (CET) Received: by cork.scru.org (Postfix, from userid 1000) id 37DF01040FD; Thu, 12 Feb 2009 18:42:13 +0000 (UTC) Date: Thu, 12 Feb 2009 18:42:12 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Cc: martin f krafft , 514955@bugs.debian.org Subject: Re: Bug#514955: patch completion broken: bad set of key/value pairs for associative array Message-ID: <20090212184212.GB25459@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, martin f krafft , 514955@bugs.debian.org References: <20090212091634.GA17364@piper.oerlikon.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090212091634.GA17364@piper.oerlikon.madduck.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8984/Thu Feb 12 15:24:21 2009 on bifrost X-Virus-Status: Clean 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/ > _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=(