]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/bisect-executable-not-found'
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 Mar 2022 05:25:30 +0000 (21:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Mar 2022 05:25:30 +0000 (21:25 -0800)
commite82874700174223d17bf3673874e6175840becc4
treed955401575f6ac9b5de670f323e73d1b627ced7c
parent967176465a62fe3f71008e20c5959c12542ef2b0
parent48af1fdee374e205c9774c163fbd4683d1110d11
Merge branch 'rs/bisect-executable-not-found'

A not-so-common mistake is to write a script to feed "git bisect
run" without making it executable, in which case all tests will
exit with 126 or 127 error codes, even on revisions that are marked
as good.  Try to recognize this situation and stop iteration early.

* rs/bisect-executable-not-found:
  bisect--helper: double-check run command on exit code 126 and 127
  bisect: document run behavior with exit codes 126 and 127
  bisect--helper: release strbuf and strvec on run error
  bisect--helper: report actual bisect_state() argument on error
builtin/bisect--helper.c