about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-09-30 19:41:56 +0000
committerClint Adams <clint@users.sourceforge.net>2007-09-30 19:41:56 +0000
commitcac51ee8c3d155531d4f996dcd66fe497739661c (patch)
treeb13212391d1ac1e951a3f1592917fefd18033f21 /Completion/Unix/Command
parent40583814f90bdaac8c62f14a73198e81d4025680 (diff)
downloadzsh-cac51ee8c3d155531d4f996dcd66fe497739661c.tar.gz
zsh-cac51ee8c3d155531d4f996dcd66fe497739661c.tar.xz
zsh-cac51ee8c3d155531d4f996dcd66fe497739661c.zip
23875: complete heads, tags, and files after git log.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 16ef865a6..355e4e511 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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