projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5da2c3
)
Speed up vc-default-checkin-patch a little
author
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 31 Oct 2022 00:48:16 +0000
(
02:48
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 31 Oct 2022 00:51:49 +0000
(
02:51
+0200)
* lisp/vc/vc.el (vc-default-checkin-patch): Drop some
'revert-buffer' calls to speed up the process a little (bug#52349).
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index df51f52bc7c1c9cc4293b07fb2a0118444b5ee0c..3e78b8cfe96b33d2c566d63f84c7fd57d24bb754 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-1715,9
+1715,6
@@
Runs the normal hooks `vc-before-checkin-hook' and `vc-checkin-hook'."
"--no-backup-if-mismatch"
"-i" "-"))
(user-error "Patch failed: %s" (buffer-string))))
- (dolist (f files)
- (with-current-buffer (get-file-buffer f)
- (revert-buffer t t t)))
(vc-call-backend backend 'checkin files comment))
(dolist (f files)
(copy-file (expand-file-name f tmpdir)