emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fba64e1: Fix vc-root-diff broken with Git as well


From: Dmitry Gutov
Subject: master fba64e1: Fix vc-root-diff broken with Git as well
Date: Wed, 18 Aug 2021 20:58:26 -0400 (EDT)

branch: master
commit fba64e1697174369b87e3de0c189a0fb0963c49c
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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 e2b12c6..b75862e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]