emacs-diffs
[Top][All Lists]
Advanced

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

master 3360f03 1/2: Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2


From: Juri Linkov
Subject: master 3360f03 1/2: Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2981 (bug#39452)
Date: Fri, 27 Aug 2021 13:12:57 -0400 (EDT)

branch: master
commit 3360f03926c304ee6a769fa1980a0160b173cd06
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2981 (bug#39452)
    
    * lisp/vc/vc-git.el (vc-git-rename-file): Don't use 
vc-git--literal-pathspecs.
---
 lisp/vc/vc-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 396d55a..1cd200c 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1555,7 +1555,7 @@ This requires git 1.8.4 or later, for the \"-L\" option 
of \"git log\"."
   (vc-git-command nil 0 (vc-git--literal-pathspecs file) "rm" "-f" "--"))
 
 (defun vc-git-rename-file (old new)
-  (vc-git-command nil 0 (vc-git--literal-pathspecs (list old new)) "mv" "-f" 
"--"))
+  (vc-git-command nil 0 (list old new) "mv" "-f" "--"))
 
 (defun vc-git-mark-resolved (files)
   (vc-git-command nil 0 (vc-git--literal-pathspecs files) "add"))



reply via email to

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