Function: diff-hl-working-revision

diff-hl-working-revision is a natively compiled function defined in diff-hl.el.

Signature

(diff-hl-working-revision FILE &optional BACKEND)

Documentation

Like vc-working-revision, but always up-to-date

Source Code

;; Defined in /nix/store/cfz56rl3lp066226i0bmmgiicls3gcq7-emacs-packages-deps/share/emacs/site-lisp/elpa/diff-hl-20261001.135/diff-hl.el
(defun diff-hl-working-revision (file &optional backend)
  "Like vc-working-revision, but always up-to-date"
  (vc-file-setprop file 'vc-working-revision
                   (vc-call-backend (or backend (vc-backend file))
                                    'working-revision file)))