about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-01-22 17:17:00 +0000
committerClint Adams <clint@users.sourceforge.net>2008-01-22 17:17:00 +0000
commit1445c65e53094da3fa917401a13bbf86e9d3c42f (patch)
tree8b00a44a992cd745e45dc476bde77404d18eac83 /Completion/Unix/Command
parent73ccdcff0a0a11ec260764d821b41eb066577863 (diff)
downloadzsh-1445c65e53094da3fa917401a13bbf86e9d3c42f.tar.gz
zsh-1445c65e53094da3fa917401a13bbf86e9d3c42f.tar.xz
zsh-1445c65e53094da3fa917401a13bbf86e9d3c42f.zip
24442: compensate for some breakage introduced by 24396.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 71d006074..0da95e52b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2668,9 +2668,7 @@ __git_tree_files () {
   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.,