Function: magit-reverse-hunks

magit-reverse-hunks is a byte-compiled function defined in magit-apply.el.

Signature

(magit-reverse-hunks SECTIONS ARGS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-reverse-hunks (sections args)
  (magit-confirm 'reverse
    (list "Reverse %d hunks from %s"
          (length sections)
          (magit-section-parent-value (car sections))))
  (magit-reverse-apply sections #'magit-apply-hunks args))