From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19730 invoked by alias); 27 May 2010 08:44:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27978 Received: (qmail 1871 invoked from network); 27 May 2010 08:44:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.161.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=R8omu4ef6WZr96fWU9nrNiHJarno+Uyk5fcrST2CiXk=; b=i8E7GrtoGmWMLQmxaj7J0jqXZDozR4F3eFUloMiYYCuVT6rX4KGIK4d+qxGXwIAoqu CUSOrHwMgNroE7PalOOJ8z2kQFosoVNn/Hhhm72jWxoCln6nBIFEgT4KW40MWkjFJ5Vu KK0waW/LR3F2w81IUlWUrxt1Wj2BIgCLR7t/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=YTWpANjNaOJ0IOJY8T86f6+tlxGQirUiAXAjKDt7gQ0kkANSXkD3Nr18XyNGxHTWqw DYvCr8OXqjqn3h867MqO1pZmBnp8fN/Cxs5Ki928mvX8TQTPHOMtwHj/83aKY/awk+D6 NSBynOStZWqEeS0Q1QIxGRUWXHKrs3QRitRn4= MIME-Version: 1.0 Sender: nikolai.weibull@gmail.com In-Reply-To: <20100526225702.GA15615202@CIS.FU-Berlin.DE> References: <20100526225702.GA15615202@CIS.FU-Berlin.DE> Date: Thu, 27 May 2010 10:22:38 +0200 X-Google-Sender-Auth: F8evt7fpxrQlfChrH1po7nMWhwA Message-ID: Subject: Re: [PATCH] _git shouldn't return 0 if there are no matches From: Nikolai Weibull To: Zsh Workers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2010 at 00:57, Holger Weiss wrote= : > _git handles the completion for a sub-command such as "git foo" by > calling the function _git-foo via _call_function. =C2=A0Without this patc= h, > _git then returns the status returned by _call_function (which is 0 if > _call_function was able to call _git-foo) instead of the status returned > by _git-foo. Good call!