projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efe4df
)
* lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011)
author
Juri Linkov
<juri@linkov.net>
Wed, 14 Dec 2022 08:05:55 +0000
(10:05 +0200)
committer
Juri Linkov
<juri@linkov.net>
Wed, 14 Dec 2022 08:05:55 +0000
(10:05 +0200)
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index 38e9d5f9c91e74432d919339b840bb82859a33bb..b5959d535c03e5f44378ef450bdd5298dca7d862 100644
(file)
--- a/
lisp/vc/vc-git.el
+++ b/
lisp/vc/vc-git.el
@@
-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