summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-08-19 03:57:58 +0300
committerDmitry Gutov <dgutov@yandex.ru>2021-08-19 03:57:58 +0300
commitfba64e1697174369b87e3de0c189a0fb0963c49c (patch)
tree0a41d2b6f38dd3f11f1b24a02ec91b55b9a3b256
parent78b427648b85d0f7e93ad5f18537ad9f2da055cb (diff)
downloademacs-fba64e1697174369b87e3de0c189a0fb0963c49c.tar.gz
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).
-rw-r--r--lisp/vc/vc.el2
1 files changed, 1 insertions, 1 deletions
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