about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2010-07-24 19:01:22 +0000
committerWayne Davison <wayned@users.sourceforge.net>2010-07-24 19:01:22 +0000
commitc0325f5233c34082c0e4d256f78ba000cd050179 (patch)
treebbad739bad2459b0e8525859bfe01f4dcf2a1d74
parentbdfc1edc899036d0538dd360963cabce0d5e1838 (diff)
downloadzsh-c0325f5233c34082c0e4d256f78ba000cd050179.tar.gz
zsh-c0325f5233c34082c0e4d256f78ba000cd050179.tar.xz
zsh-c0325f5233c34082c0e4d256f78ba000cd050179.zip
28000: make the branch arg for "git log" optional.
-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