1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

24442: compensate for some breakage introduced by 24396.

This commit is contained in:
Clint Adams 2008-01-22 17:17:00 +00:00
parent 73ccdcff0a
commit 1445c65e53
2 changed files with 3 additions and 5 deletions

View file

@ -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>

View file

@ -2668,9 +2668,7 @@ __git_tree_files () {
fi
local expl
# FIXME: Why doesnt -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.,