From e2f9e6ba7dc9094d54ace1dc125f73c05b6abc5e Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Thu, 5 Feb 2026 12:11:53 +0000 Subject: [PATCH] vc-git--mailinfo: Use file-local-name (bug#80295, bug#80320) * lisp/vc/vc-git.el (vc-git--mailinfo): Use file-local-name (bug#80295, bug#80320). --- lisp/vc/vc-git.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index d6a7145b34e..9c97fcad97d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1472,7 +1472,9 @@ line of the commit message in an entry with key \"Subject\"." (if (eq system-type 'windows-nt) locale-coding-system coding-system-for-write))) - (vc-git--call input-file t "mailinfo" msg-file patch-file)) + (vc-git--call input-file t "mailinfo" + (file-local-name msg-file) + (file-local-name patch-file))) (goto-char (point-min)) ;; git-mailinfo joins up any header continuation lines for us. (while (re-search-forward "^\\([^\t\n\s:]+\\):\\(.*\\)$" nil t)