diff --git lisp/vc/vc-git.el lisp/vc/vc-git.el index 9eac5b2..dd2f7af 100644 *** lisp/vc/vc-git.el --- lisp/vc/vc-git.el *************** *** 705,718 **** ;; arguments must be in the system codepage, and therefore ;; might not support the non-ASCII characters in the log ;; message. ! (if (eq system-type 'windows-nt) (make-temp-file "git-msg")))) (cl-flet ((boolean-arg-fn (argument) (lambda (value) (when (equal value "yes") (list argument))))) ;; When operating on the whole tree, better pass "-a" than ".", since "." ;; fails when we're committing a merge. (apply 'vc-git-command nil 0 (if only files) ! (nconc (if msg-file (list "commit" "-F" msg-file) (list "commit" "-m")) (let ((args (log-edit-extract-headers --- 705,731 ---- ;; arguments must be in the system codepage, and therefore ;; might not support the non-ASCII characters in the log ;; message. ! (if (eq system-type 'windows-nt) ! (if (file-remote-p file1) ! (let ((vec (tramp-dissect-file-name file1))) ! (tramp-make-tramp-file-name ! (tramp-file-name-method vec) ! (tramp-file-name-user vec) ! (tramp-file-name-host vec) ! (tramp-make-tramp-temp-file vec))) ! (make-temp-file "git-msg"))))) (cl-flet ((boolean-arg-fn (argument) (lambda (value) (when (equal value "yes") (list argument))))) ;; When operating on the whole tree, better pass "-a" than ".", since "." ;; fails when we're committing a merge. (apply 'vc-git-command nil 0 (if only files) ! (nconc (if msg-file ! (list "commit" "-F" ! (if (file-remote-p msg-file) ! (tramp-file-name-localname ! (tramp-dissect-file-name msg-file)) ! msg-file)) (list "commit" "-m")) (let ((args (log-edit-extract-headers