summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 3 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 59703b852..fa1403319 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
2008-01-22 Clint Adams <clint@zsh.org>
- * 24437, 24441: Completion/Unix/Command/_git: compensate for
- some breakage introduced by 24396.
+ * 24437, 24441, 24442: Completion/Unix/Command/_git: compensate
+ for some breakage introduced by 24396.
2008-01-22 Peter Stephenson <pws@csr.com>
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.,