Function: magit-bisect-run
magit-bisect-run is an autoloaded, interactive and byte-compiled
function defined in magit-bisect.el.
Signature
(magit-bisect-run CMDLINE &optional BAD GOOD ARGS)
Documentation
Bisect automatically by running commands after each step.
Unlike "git bisect run" this can be used before bisecting has begun. In that case it behaves like "git bisect start; git bisect run".
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-bisect.el
;;;###autoload
(defun magit-bisect-run (cmdline &optional bad good args)
"Bisect automatically by running commands after each step.
Unlike \"git bisect run\" this can be used before bisecting has begun.
In that case it behaves like \"git bisect start; git bisect run\"."
(interactive (let ((args (and (not (magit-bisect-in-progress-p))
(magit-bisect-start-read-args))))
(cons (read-shell-command "Bisect shell command: ") args)))
(when (and bad good)
(magit-bisect-start--assert bad good args)
;; Avoid `magit-git-bisect' because it's asynchronous, but the
;; next "git bisect run" call requires the bisect to be started.
(magit-with-toplevel
(magit-process-git
(list :file (expand-file-name "BISECT_CMD_OUTPUT" (magit-gitdir)))
"bisect" "start" bad good args)
(magit-refresh)))
(with-connection-local-variables
(magit-git-bisect "run" (list shell-file-name
shell-command-switch cmdline))))