23875: complete heads, tags, and files after git log.

This commit is contained in:
Clint Adams 2007-09-30 19:41:56 +00:00
parent 40583814f9
commit cac51ee8c3
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-09-30 Clint Adams <clint@zsh.org>
* 23875: Completion/Unix/Command/_git: complete heads, tags, and
files after git log.
* 23874: Completion/Unix/Command/_git: only declare
revision_arguments parameter once.

View File

@ -1705,7 +1705,8 @@ _git-log () {
__git_setup_revision_arguments
_arguments -S \
$revision_arguments && ret=0
"$revision_arguments[@]" \
'*:tree-ish: _alternative c\:\:__git_committishs f\:\:_files' && ret=0
}
# TODO: repository needs fixing