summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-05-06 16:38:39 +0000
committerClint Adams <clint@users.sourceforge.net>2009-05-06 16:38:39 +0000
commit4f622ad57062282900cc1d679ffb8b5faa16618b (patch)
tree54c121d9b3a1148dae52d0d617d1ce33e85b1011 /Completion/Unix
parent0b61406ea9f130e7c8930fc199e2bf7121d75acc (diff)
downloadzsh-4f622ad57062282900cc1d679ffb8b5faa16618b.tar.gz
zsh-4f622ad57062282900cc1d679ffb8b5faa16618b.tar.xz
zsh-4f622ad57062282900cc1d679ffb8b5faa16618b.zip
26937: have `git log` complete files after branch/range.
Diffstat (limited to 'Completion/Unix')
-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 73cff80b6..e4831335f 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1815,8 +1815,8 @@ _git-log () {
   case $state in
     (files)
       _arguments -S \
-        '::index file:__git_cached_files' \
-        '*::branch:__git_commit_ranges2' && ret=0
+        ':branch:__git_commit_ranges2' \
+        '*:index file:__git_cached_files' && ret=0
       ;;
   esac
 }