diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-15 12:14:36 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-15 12:14:36 +0900 |
commit | 5066a008bb6a810f908c020de02a646cf3c92f34 (patch) | |
tree | 20f15cf6e547a833c2e2f9135c12477813f7911b /git-bisect.sh | |
parent | Merge branch 'rd/bisect-view-is-visualize' (diff) | |
parent | bisect run: die if no command is given (diff) | |
download | tgif-5066a008bb6a810f908c020de02a646cf3c92f34.tar.xz |
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
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-x | git-bisect.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-bisect.sh b/git-bisect.sh index a82256e345..54cbfecc5a 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -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="$@" |