From: Junio C Hamano Date: Sun, 24 Mar 2024 18:34:26 GMT Subject: Re: Allow git bisect to auto-skip Message-ID: In-Reply-To: Christian Couder writes: > Also, how much better would this be compared to tracking "git bisect > run" scripts in the repo, even if they have to be copied somewhere > else before they are launched? I wonder about this because writing the > conditions that decide whether the current commit is good or bad might > not be so easy either. So if the goal is to simplify things for users, > then simplifying all the way by providing example scripts with > comments about how they could be customized might be even better. If we are driving our bisection session via "bisect run" script, computing the condition that we need to skip in the script is the most natural and obvious thing to do, but the way I guessed (because it was not explicitly written down) what the OP wanted was a way for bisect_next() called after even a manual "git bisect (good|bad)" to automatically skip certain set of commits. Because there are cases where you have to be testing manually and cannot afford to write "bisect run" script, giving a manual bisection a way to compute if a commit need to be skipped may be worth having, and that was where my "git bisect --skip-when