Function: vc-root-version-diff

vc-root-version-diff is an autoloaded, interactive and byte-compiled function defined in vc.el.gz.

Signature

(vc-root-version-diff FILES REV1 REV2)

Documentation

Report diffs between REV1 and REV2 revisions of the whole tree.

View in manual

Probably introduced at or before Emacs version 27.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;;;###autoload
(defun vc-root-version-diff (_files rev1 rev2)
  "Report diffs between REV1 and REV2 revisions of the whole tree."
  (interactive
   (vc-diff-build-argument-list-internal
    (let ((backend (or (vc-deduce-backend) (vc-responsible-backend default-directory))))
      (list backend (list (vc-call-backend backend 'root default-directory))))))
  ;; This is a mix of `vc-root-diff' and `vc-version-diff'
  (when (and (not rev1) rev2)
    (error "Not a valid revision range"))
  (vc--with-backend-in-rootdir "VC root-diff"
    (vc-diff-internal vc-allow-async-diff (list backend (list rootdir)) rev1 rev2
                      (called-interactively-p 'interactive))))