mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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).
This commit is contained in:
parent
dda572a2fa
commit
e2f9e6ba7d
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue