about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 }