mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 21:54:34 +00:00
23875: complete heads, tags, and files after git log.
This commit is contained in:
parent
40583814f9
commit
cac51ee8c3
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue