Function: magit-wip--update-ref

magit-wip--update-ref is a byte-compiled function defined in magit-wip.el.

Signature

(magit-wip--update-ref REF MESSAGE REV)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-wip.el
(defun magit-wip--update-ref (ref message rev)
  (let ((magit--refresh-cache nil))
    (unless (zerop (magit-wip--git "update-ref" "--create-reflog"
                                   "-m" message ref rev))
      (error "Cannot update %s with %s" ref rev))))