Function: magit-repository-local-delete
magit-repository-local-delete is a byte-compiled function defined in
magit-mode.el.
Signature
(magit-repository-local-delete KEY &optional REPOSITORY)
Documentation
Delete the repository-local value for KEY.
Unless specified, REPOSITORY is the current buffer's repository.
If REPOSITORY is all, then delete the value for KEY for all
repositories.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-repository-local-delete (key &optional repository)
"Delete the repository-local value for KEY.
Unless specified, REPOSITORY is the current buffer's repository.
If REPOSITORY is `all', then delete the value for KEY for all
repositories."
(cond-let
((eq repository 'all)
(dolist (cache magit-repository-local-cache)
(setf cache (assoc-delete-all key cache))))
([cache (assoc (or repository (magit-repository-local-repository))
magit-repository-local-cache)]
(setf cache (assoc-delete-all key cache)))))