From 3360f03926c304ee6a769fa1980a0160b173cd06 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 27 Aug 2021 20:09:08 +0300 Subject: [PATCH] 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 396d55adb2d..1cd200cd134 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")) -- 2.39.2