about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-11-22 16:46:35 +0000
committerClint Adams <clint@users.sourceforge.net>2007-11-22 16:46:35 +0000
commit1777402dfa921af6b4fc4e4ba058859424c1cec5 (patch)
treec2181a39acac5652c6a17b7e9b2d15d5fb89ef8a
parent43118f8a01f2d708f6153b35199224ce496b3327 (diff)
downloadzsh-1777402dfa921af6b4fc4e4ba058859424c1cec5.tar.gz
zsh-1777402dfa921af6b4fc4e4ba058859424c1cec5.tar.xz
zsh-1777402dfa921af6b4fc4e4ba058859424c1cec5.zip
24114: make colon suffix removable after the first part of refspecs.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index de585c3a6..20de0d8dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-22  Clint Adams  <clint@zsh.org>
+
+	* 24114: Completion/Unix/Command/_git: make colon suffix removable
+	after the first part of refspecs.
+
 2007-11-21  Clint Adams  <clint@zsh.org>
 
 	* arno.: 24111: Completion/Debian/Command/_dlocate: complete -lsbin
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 5f7184824..38a5ca58f 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2801,7 +2801,7 @@ __git_ref_specs () {
     if compset -S ':*'; then
       __git_heads
     else
-      __git_heads -S ':'
+      __git_heads -qS ':'
     fi
   fi
 }