bisect: document run behavior with exit codes 126 and 127
commitba5bb8152c463c9e59600e03913e99144b9673cc
authorRené Scharfe <l.s.r@web.de>
Tue, 18 Jan 2022 12:46:24 +0000 (18 13:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Jan 2022 01:11:22 +0000 (18 17:11 -0800)
tree6c53077d71f772d093c4fae496edd2c57008b3bb
parent8efa2acc2ed667eb7d80a533ace59f4722088c8b
bisect: document run behavior with exit codes 126 and 127

Shells report non-executable and missing commands with exit codes 126
and 127, respectively.  For historical reasons "git bisect run"
interprets them as indicating a bad commit, though.  Document the
current behavior by adding basic tests that cover these cases.

Reported-by: Ramkumar Ramachandra <r@artagnon.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6030-bisect-porcelain.sh