From fba64e1697174369b87e3de0c189a0fb0963c49c Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 19 Aug 2021 03:57:58 +0300 Subject: [PATCH] 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). --- lisp/vc/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2