Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [RFC] Use _multi_parts for completing git tree files



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