about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c789f82f3..05f7af0c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-24  Wayne Davison  <wayned@users.sourceforge.net>
+
+	* 28000: Completion/Unix/Command/_git: make the branch arg for
+	"git log" optional.
+
 2010-07-20  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 28096: Functions/Chpwd/chpwd_recent_dirs: don't add
@@ -13404,5 +13409,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5032 $
+* $Revision: 1.5033 $
 *****************************************************
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 465b31622..c394e0845 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1864,7 +1864,7 @@ _git-log () {
   case $state in
     (files)
       _arguments -S \
-        ':branch:__git_commit_ranges2' \
+        '::branch:__git_commit_ranges2' \
         '*:index file:__git_cached_files' && ret=0
       ;;
   esac