about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-29 02:12:43 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-29 02:12:43 +0000
commit045493ba3583e1c4c74dd395db5a924539a581e8 (patch)
tree73583593dd3d32fd1b04a22c63004216c325e7a7
parente3e72c421693d3960c5570b9b2dfbaa3ed1c2c3f (diff)
downloadzsh-045493ba3583e1c4c74dd395db5a924539a581e8.tar.gz
zsh-045493ba3583e1c4c74dd395db5a924539a581e8.tar.xz
zsh-045493ba3583e1c4c74dd395db5a924539a581e8.zip
Merge of 24114 and 24115, i.e. revisions 1.51 and 1.52.
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 5f7184824..6a7d4b7c2 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2801,7 +2801,9 @@ __git_ref_specs () {
     if compset -S ':*'; then
       __git_heads
     else
-      __git_heads -S ':'
+      _alternative \
+       'tags:tag:__git_tags' \
+       'heads:head:__git_heads -qS :'
     fi
   fi
 }