From: Dmitry Gutov Date: Thu, 19 Aug 2021 00:57:58 +0000 (+0300) Subject: Fix vc-root-diff broken with Git as well X-Git-Tag: emacs-28.0.90~1445 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fba64e1697174369b87e3de0c189a0fb0963c49c;p=emacs.git Fix vc-root-diff broken with Git as well * lisp/vc/vc.el (vc-root-diff): Fix similar to 35023214031e1 by avoiding the abbreviated directory name in argument (bug#39452). --- diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index e2b12c6cb03..b75862e8a52 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -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