about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 16e9150ed..8b25e70c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-09  Clint Adams  <clint@zsh.org>
+
+	* Jörg Sommer: 25824: Completion/Unix/Command/_git: make it
+	possible to use abbreviated paths for tree files.
+
 2008-10-09  Peter Stephenson  <pws@csr.com>
 
 	* 25831: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/params.c,
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index f3196b895..366cc5d97 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2811,7 +2811,7 @@ __git_tree_files () {
   fi
 
   local expl
-  _wanted files expl 'tree file' compadd $multi_parts_opts -f -a tree_files
+  _wanted files expl 'tree file' _multi_parts -f $@ -- / tree_files
 }
 
 # TODO: deal with things that __git_heads and __git_tags has in common (i.e.,