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:
parent
1777402dfa
commit
c406f4366e
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue