From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25140 invoked from network); 22 Jan 2008 17:13:01 -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=AWL,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; 22 Jan 2008 17:13:01 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 65629 invoked from network); 22 Jan 2008 17:12:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jan 2008 17:12:56 -0000 Received: (qmail 19287 invoked by alias); 22 Jan 2008 17:12:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24442 Received: (qmail 19273 invoked from network); 22 Jan 2008 17:12:53 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Jan 2008 17:12:53 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 34AEC8058F58 for ; Tue, 22 Jan 2008 18:12:50 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 22 Jan 2008 18:12:50 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 49E2A5C06B; Tue, 22 Jan 2008 12:12:48 -0500 (EST) Date: Tue, 22 Jan 2008 12:12:49 -0500 From: Clint Adams To: Mikael Magnusson , zsh-workers@sunsite.dk Subject: Re: git completion horribly slow in kernel tree Message-ID: <20080122171249.GA2361@scowler.net> Mail-Followup-To: Mikael Magnusson , zsh-workers@sunsite.dk References: <237967ef0801141339p73414915xc411253211ed7467@mail.gmail.com> <20080122011932.GB16813@scowler.net> <237967ef0801211740s1ee07850vc25984a7af262cac@mail.gmail.com> <20080122162222.GA503@scowler.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080122162222.GA503@scowler.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Jan 22, 2008 at 11:22:22AM -0500, Clint Adams wrote: > 1) suffix of completed directories is a space, not / Any other issues left? Index: Completion/Unix/Command/_git =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v retrieving revision 1.57 diff -u -r1.57 _git --- Completion/Unix/Command/_git 22 Jan 2008 17:07:17 -0000 1.57 +++ Completion/Unix/Command/_git 22 Jan 2008 17:11:17 -0000 @@ -2668,9 +2668,7 @@ fi local expl - - # FIXME: Why doesn’t -f to compadd work here? - _wanted files expl 'tree file' _multi_parts $multi_parts_opts - / tree_files + _wanted files expl 'tree file' compadd $multi_parts_opts -f -a tree_files } # TODO: deal with things that __git_heads and __git_tags has in common (i.e.,