Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RFC] Use _multi_parts for completing git tree files
- X-seq: zsh-workers 25833
- From: Clint Adams <clint@xxxxxxx>
- To: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Subject: Re: [RFC] Use _multi_parts for completing git tree files
- Date: Thu, 9 Oct 2008 22:01:36 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1223411043-19731-1-git-send-email-joerg@xxxxxxxxxxxx>
- Mail-followup-to: Jörg Sommer <joerg@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1223411043-19731-1-git-send-email-joerg@xxxxxxxxxxxx>
On Tue, Oct 07, 2008 at 10:24:03PM +0200, Jörg Sommer wrote:
> + _wanted files expl 'tree file' _multi_parts -f $@ -- / tree_files
Seems good.
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.106
diff -u -r1.106 _git
--- Completion/Unix/Command/_git 9 Oct 2008 21:54:10 -0000 1.106
+++ Completion/Unix/Command/_git 9 Oct 2008 21:56:13 -0000
@@ -2791,9 +2791,6 @@
(( $+functions[__git_tree_files] )) ||
__git_tree_files () {
local multi_parts_opts
-
- zparseopts -D -E -a multi_parts_opts M: J: V: 1 2 n F: X:
-
local tree Path
integer at_least_one_tree_added
local -a tree_files
Messages sorted by:
Reverse Date,
Date,
Thread,
Author