Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git completion horribly slow in kernel tree
- X-seq: zsh-workers 24442
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: git completion horribly slow in kernel tree
- Date: Tue, 22 Jan 2008 12:12:49 -0500
- In-reply-to: <20080122162222.GA503@xxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrnfongql.jes.joerg@xxxxxxxxxxxx> <237967ef0801141339p73414915xc411253211ed7467@xxxxxxxxxxxxxx> <20080122011932.GB16813@xxxxxxxxxxx> <237967ef0801211740s1ee07850vc25984a7af262cac@xxxxxxxxxxxxxx> <20080122162222.GA503@xxxxxxxxxxx>
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.,
Messages sorted by:
Reverse Date,
Date,
Thread,
Author