Function: magit-bisect-run
magit-bisect-run is an interactive and natively 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
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))))