diff options
author | Clint Adams <clint@users.sourceforge.net> | 2007-10-01 13:37:31 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2007-10-01 13:37:31 +0000 |
commit | 44b2e3e2b20c96a27c6aaf246202eaf3e2bbd214 (patch) | |
tree | 24b9463ad3ea234d249e20585b2e6c2a0b6ed8ea /Completion | |
parent | e0afddb812e1ae13b1e82ed0bc8321a3f33b32a5 (diff) | |
download | zsh-44b2e3e2b20c96a27c6aaf246202eaf3e2bbd214.tar.gz zsh-44b2e3e2b20c96a27c6aaf246202eaf3e2bbd214.tar.xz zsh-44b2e3e2b20c96a27c6aaf246202eaf3e2bbd214.zip |
Nikolai Weibull: 23879: complete only cached files after git log.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 355e4e511..5d4a181e2 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1705,8 +1705,8 @@ _git-log () { __git_setup_revision_arguments _arguments -S \ - "$revision_arguments[@]" \ - '*:tree-ish: _alternative c\:\:__git_committishs f\:\:_files' && ret=0 + $revision_arguments \ + '*:file:__git_cached_files' && ret=0 } # TODO: repository needs fixing |