From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16934 invoked from network); 24 Aug 2008 16:37:36 -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; 24 Aug 2008 16:37:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28344 invoked from network); 24 Aug 2008 16:37:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Aug 2008 16:37:27 -0000 Received: (qmail 27199 invoked by alias); 24 Aug 2008 16:37:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25517 Received: (qmail 27182 invoked from network); 24 Aug 2008 16:37:16 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 24 Aug 2008 16:37:16 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 773F48030847 for ; Sun, 24 Aug 2008 18:37:01 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id 06B3110408B; Sun, 24 Aug 2008 16:36:58 +0000 (UTC) Date: Sun, 24 Aug 2008 16:36:58 +0000 From: Clint Adams To: Mikael Magnusson Cc: zsh-workers Subject: Re: _git: Update __git_merge_strategies to work with new git. Message-ID: <20080824163658.GA20363@scru.org> Mail-Followup-To: Mikael Magnusson , zsh-workers References: <237967ef0808210443y542c4794v50c5ea0eb1a308f@mail.gmail.com> <20080821122947.GA4065@scru.org> <237967ef0808211319u42388b15w330c324e3f8043e@mail.gmail.com> <20080822103622.GA31581@scru.org> <237967ef0808220841x635d8180n7c1b46ab682c8869@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <237967ef0808220841x635d8180n7c1b46ab682c8869@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8081/Sun Aug 24 15:41:12 2008 on bifrost X-Virus-Status: Clean On Fri, Aug 22, 2008 at 05:41:39PM +0200, Mikael Magnusson wrote: > That doesn't grab the custom strategies line... How about this? Sort > of a hack though... :) > > ${(s: :)${${${${(f)"$(echo; git merge -s '' 2>&1)"}[(r)[Aa]vailable > strategies are: *,(r)]}%%.}##*: }} ${=${${(M)${(f)"$(git merge -s '' 2>&1)"}:#[Aa]vailable (custom )#strategies are: *}#[Aa]vailable (custom )#strategies are: }%.}