From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10061 invoked by alias); 18 Oct 2011 20:34:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16515 Received: (qmail 8917 invoked from network); 18 Oct 2011 20:34:07 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=z5Ua6xQY5hObeRRq80yIwn8CmM+RSJ25TkfwhxaVukc=; b=MOTicgjCeehGikSzj4ECK8wLVOVwzCyxHTJl0WqpRU4cudA3Lo2On0NCVZRtkjdlfX /r6QyLiUU+FBWdj6paGNR9FIZOcc68jD+InpE4BrrTkFUHwbn8frvUos5ZO77hW0dVrm oGLnl7hfMok+Yd140xCUDvNZIyw52z1mPhaNk= MIME-Version: 1.0 Sender: nikolai.weibull@gmail.com In-Reply-To: References: <87mxcyv6u6.fsf@deep-thought.43-1.org> Date: Tue, 18 Oct 2011 22:28:50 +0200 X-Google-Sender-Auth: OiCTZaOMEN4O9SS6z_GSWdc-6yE Message-ID: Subject: Re: Use helper functions for git completion in my own completions From: Nikolai Weibull To: "Benjamin R. Haskell" Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Oct 18, 2011 at 22:05, Benjamin R. Haskell wrote: > On Tue, 18 Oct 2011, Ansgar Burchardt wrote: >> is it possible to use the helper functions defined in "_git" for the git >> command in my own completion functions? > > Yes, though with the recent(-ish) rewrite (and in general), I'm not sure > there's really a stable API. > > E.g. if __git_pattern_escape isn't needed by _git anymore, I suspect it > would simply disappear. =C2=A0As would __git_commits2, or whatnot. Yes. The helpers are still in need of a clean-up. I have a rather sizable todo-list still, but preciously little time.