Function: magit-notes-prune
magit-notes-prune is an interactive and byte-compiled function defined
in magit-notes.el.
Signature
(magit-notes-prune &optional DRY-RUN)
Documentation
Remove notes about unreachable commits.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-notes.el
(defun magit-notes-prune (&optional dry-run)
"Remove notes about unreachable commits."
(interactive (list (and (member "--dry-run" (transient-args 'magit-notes)) t)))
(when dry-run
(magit-process-buffer))
(magit-run-git-with-editor "notes" "prune" (and dry-run "--dry-run")))