about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git4
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