Function: magit-discard-hunks
magit-discard-hunks is a byte-compiled function defined in
magit-apply.el.
Signature
(magit-discard-hunks SECTIONS)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-discard-hunks (sections)
(magit-confirm 'discard
(list "Discard %d hunks from %s"
(length sections)
(magit-section-parent-value (car sections))))
(magit-discard-apply sections #'magit-apply-hunks))