From: Junio C Hamano Date: Thu, 13 Jan 2022 18:40:13 GMT Subject: Re: git bisect bad @ Message-ID: In-Reply-To: <8bc73981-589e-20e5-247b-2f74e166ae1a@web.de> René Scharfe writes: > The implementation language of git bisect is not immediately relevant > here, but that the shell is used to call the user-supplied bisect run > script is. If we'd run it directly (without RUN_USING_SHELL) we could > distinguish error code 126/127 from execution errors. Yes, but it means that we'd need to reimplement command line splitting, environment and variable substitutions, etc. in a way that people expect from executing their run "script" with a shell. I'd rather not to see us go there. Thanks.