Fix vc-root-diff broken with Git as well

* lisp/vc/vc.el (vc-root-diff): Fix similar to 3502321403 by
avoiding the abbreviated directory name in argument (bug#39452).
This commit is contained in:
Dmitry Gutov 2021-08-19 03:57:58 +03:00
parent 78b427648b
commit fba64e1697

View file

@ -2056,7 +2056,7 @@ saving the buffer."
;; relative file names work.
(let ((default-directory rootdir))
(vc-diff-internal
t (list backend (list rootdir) working-revision) nil nil
t (list backend (list (expand-file-name rootdir)) working-revision) nil nil
(called-interactively-p 'interactive))))))
;;;###autoload