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-20260411.1452/magit-bisect.el
(defun magit-bisect-start--assert (bad good args)
  (unless (magit-rev-ancestor-p good bad)
    (user-error
     "The %s revision (%s) has to be an ancestor of the %s one (%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")))