Function: magit-bisect-start--assert

magit-bisect-start--assert is a byte-compiled function defined in magit-bisect.el.

Signature

(magit-bisect-start--assert BAD GOOD ARGS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-bisect.el
(defun magit-bisect-start--assert (bad good args)
  (unless (magit-merge-base bad good)
    (user-error
     "%s `%s' or merge-base has to be an ancestor of %s `%s')"
     (or (transient-arg-value "--term-old=" args) "Good")
     good
     (or (transient-arg-value "--term-new=" args) "bad")
     bad))
  (when (magit-anything-modified-p)
    (user-error "Cannot bisect with uncommitted changes")))