mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
25488: patch to complete things after "git bisect start", Mikael Magnusson.
This commit is contained in:
parent
117d3ded00
commit
153d8f0ad0
2 changed files with 13 additions and 0 deletions
|
|
@ -1464,6 +1464,16 @@ _git-bisect () {
|
|||
_arguments \
|
||||
'*::arguments: _normal' && ret=0
|
||||
;;
|
||||
(start)
|
||||
if (( words[(I)--] < CURRENT && words[(I)--] > 0 )); then
|
||||
_arguments \
|
||||
'*:paths:_files' && ret=0
|
||||
else
|
||||
_arguments \
|
||||
'2:bad revision:__git_commits' \
|
||||
'*:good revision:__git_commits' && ret=0
|
||||
fi
|
||||
;;
|
||||
|
||||
(*)
|
||||
_nothing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue