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
maint
Junio C Hamano 2017-11-15 12:14:36 +09:00
commit 5066a008bb
1 changed files with 2 additions and 0 deletions

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="$@"