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

_git: Offer alternatives properly.

This commit is contained in:
Daniel Shahaf 2016-04-29 08:53:48 +00:00
parent 2979122d2d
commit 3e26848ef4

View file

@ -5638,8 +5638,7 @@ __git_commits () {
(( $+functions[__git_heads] )) ||
__git_heads () {
__git_heads_local "$@"
__git_heads_remote "$@"
_alternative 'heads-local::__git_heads_local' 'heads-remote::__git_heads_remote'
}
(( $+functions[__git_heads_local] )) ||