Follow-up fixes for vc-default-checkin-patch
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 17 Oct 2022 23:33:43 +0000 (02:33 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 17 Oct 2022 23:35:05 +0000 (02:35 +0300)
commit5e7726552340a3a27b3445b2094bdcc004277d2a
tree0e1e4bfbe83c807b057eb70b4315427d5c0f566f
parentc2b79d9148f21c3717f1eaa2d37b837b0922b94c
Follow-up fixes for vc-default-checkin-patch

* lisp/vc/vc.el (vc-default-checkin-patch):
Call vc-revert-file on buffer-file-name (vc-backend failed on
relative name sometimes).  Delete the tmp dir after copying all
files back, not just the first one.  Bug#52349,
https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg01446.html.
lisp/vc/vc.el