summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-10-09 21:54:09 +0000
committerClint Adams <clint@users.sourceforge.net>2008-10-09 21:54:09 +0000
commitca3182ad3dd0b616c31abd035dd0209b7528a2f5 (patch)
tree470f11b865ae7da5960dd6a7b94a0c7b3964bbc2
parentad3e2aa2157bc779b596d95987a80b28cf6928b9 (diff)
downloadzsh-ca3182ad3dd0b616c31abd035dd0209b7528a2f5.tar.gz
zsh-ca3182ad3dd0b616c31abd035dd0209b7528a2f5.zip
Jörg Sommer: 25824: make it possible to use abbreviated paths for tree files.
-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.,