Function: magit-apply-diff
magit-apply-diff is a byte-compiled function defined in
magit-apply.el.
Signature
(magit-apply-diff SECTION &rest ARGS)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-apply-diff (section &rest args)
(setq section (car (magit-apply--get-diffs (list section))))
(magit-apply-patch section args
(concat (magit-diff-file-header section)
(magit-apply--section-content section))))