From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22984 invoked from network); 25 Jan 2008 13:40:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jan 2008 13:40:19 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 67609 invoked from network); 25 Jan 2008 13:40:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jan 2008 13:40:12 -0000 Received: (qmail 17687 invoked by alias); 25 Jan 2008 13:38:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24463 Received: (qmail 17549 invoked from network); 25 Jan 2008 13:38:13 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 25 Jan 2008 13:38:13 -0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by bifrost.dotsrc.org (Postfix) with SMTP id 80EEF80190F6 for ; Fri, 25 Jan 2008 14:38:06 +0100 (CET) Received: (qmail invoked by alias); 25 Jan 2008 13:38:05 -0000 Received: from pD9E98E52.dip0.t-ipconnect.de (EHLO zitrone.obstwiese) [217.233.142.82] by mail.gmx.net (mp040) with SMTP; 25 Jan 2008 14:38:05 +0100 X-Authenticated: #885628 X-Provags-ID: V01U2FsdGVkX1+xW7wNAL2xN2KppgGWHflmRLRZNsRyRIUjq2lXCI WUwixyJpIjdsUL Received: from luthien by zitrone.obstwiese with local (Exim 4.63) (envelope-from ) id 1JIOlP-0000sI-29 for zsh-workers@sunsite.dk; Fri, 25 Jan 2008 14:38:35 +0100 Date: Fri, 25 Jan 2008 14:38:34 +0100 From: Dominik Vogt To: zsh-workers@sunsite.dk Subject: Re: [PATCH] improved git completion Message-ID: <20080125133834.GA3218@gmx.de> Reply-To: dominik.vogt@gmx.de Mail-Followup-To: zsh-workers@sunsite.dk References: <20080124184704.GA864@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Y-GMX-Trusted: 0 X-Virus-Scanned: ClamAV 0.91.2/5550/Fri Jan 25 08:02:45 2008 on bifrost X-Virus-Status: Clean On Thu, Jan 24, 2008 at 11:12:49PM +0000, Jörg Sommer wrote: > Hi Dominik, > > Dominik Vogt wrote: > > Attached to this message you can find a series of patches to the > > git completion file (installed as > > /usr/share/zsh/4.3.2/functions/Completion/Unix/_git, no idea where > > it lives in the source tree). > > Your patches don't apply at me. Can you use the repository at > git://repo.or.cz/zsh.git and resend the patches? Hm, the original code has changed dramatically since I began writing the patches, and I don't have the time to do it again from scratch. All I can do is to offer the original author of the git completion stuff to take the last two patches as a base to rewrite his own completion code to 1) handle GIT_DIR and --git-dir=, 2) copy without git-ls-remote (which ist *slooow* and potentially requires a network connection), 3) improve git-branch completion. Actually, the use of git-ls-remote renders the current git completion pretty much useless for me as I am not going to wait four seconds for the completion list or tags and heads to be built. Until there's a solution for this problem I'll just have to use my own version of git completion. Sorry. Ciao Dominik ^_^ ^_^ -- Dominik Vogt