1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-14 18:36:08 +02:00

Merge branch 'sb/bisect-run-empty'

"git bisect run" that did not specify any command to run used to go
ahead and treated all commits to be tested as 'good'.  This has
been corrected by making the command error out.

* sb/bisect-run-empty:
  bisect run: die if no command is given
This commit is contained in:
Junio C Hamano 2017-11-15 12:14:36 +09:00
commit 5066a008bb

View File

@ -450,6 +450,8 @@ bisect_replay () {
bisect_run () {
bisect_next_check fail
test -n "$*" || die "$(gettext "bisect run failed: no command provided.")"
while true
do
command="$@"