1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

Sean Finney: 24115: offer tags as well as heads where refspecs are valid.

This commit is contained in:
Clint Adams 2007-11-22 19:09:27 +00:00
parent 1777402dfa
commit c406f4366e
2 changed files with 6 additions and 1 deletions

View file

@ -2801,7 +2801,9 @@ __git_ref_specs () {
if compset -S ':*'; then
__git_heads
else
__git_heads -qS ':'
_alternative \
'tags:tag:__git_tags' \
'heads:head:__git_heads -qS :'
fi
fi
}