about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b1dc41b89..dd08827d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-06  Clint Adams  <clint@zsh.org>
+
+	* 26937: Completion/Unix/Command/_git: have `git log` complete
+	files after branch/range.
+
 2009-05-05  Peter Stephenson  <pws@csr.com>
 
 	* martin f. krafft: 26922: Completion/Unix/Command/_xmms2: extend
@@ -11656,5 +11661,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4676 $
+* $Revision: 1.4677 $
 *****************************************************
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
 }