mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
* lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011)
This commit is contained in:
parent
3efe4df1d2
commit
8c30cb90ba
@ -1041,7 +1041,7 @@ It is based on `log-edit-mode', and has Git-specific extensions."
|
||||
(string-replace file-diff "" vc-git-patch-string))
|
||||
(user-error "Index not empty"))
|
||||
(setq pos (point))))))
|
||||
(let ((patch-file (make-temp-file "git-patch")))
|
||||
(let ((patch-file (make-nearby-temp-file "git-patch")))
|
||||
(with-temp-file patch-file
|
||||
(insert vc-git-patch-string))
|
||||
(unwind-protect
|
||||
|
Loading…
Reference in New Issue
Block a user