about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-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.,