1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
emacs/lisp/vc
Sean Whitton 6c0c985cee Resolve FIXME regarding running vc-checkin-hook
Running vc-checkin-hook needs to be delayed in the case of an
async checkin.  As a quick fix we had been relying on the
backend checkin functions to run the hook in the async case.
This restores handling running the hook in generic code even for
the async case.

* lisp/vc/vc.el (vc-checkin): Always pass vc-checkin-hook to
vc-start-logentry.  Return the result of calling the backend
'checkin-patch' or 'checkin' function to vc-finish-logentry.
* lisp/vc/vc-dispatcher.el (vc-finish-logentry): If the log
operation returns a cons of the form (async . #<process ...>),
use vc-exec-after to delay vc-resynch-buffer and hooks until the
async process completes.  Approach suggested by Dmitry Gutov.
* lisp/vc/vc-git.el (vc-git-checkin):
* lisp/vc/vc-hg.el (vc-hg-checkin): For an async checkin, return
a cons (async . #<process ...>) containing the async checkin
process.  No longer run vc-checkin-hook.

* lisp/vc/vc.el (with-vc-properties): Return the result of
evaluating FORM.
* lisp/vc/vc-dispatcher.el (vc-exec-after): Change to PROC's
buffer before calling vc-set-mode-line-busy-indicator.
2025-07-07 15:44:34 +01:00
..
add-log.el Revert "Correctly fill generated ChangeLog entries" 2025-02-26 07:22:27 +01:00
compare-w.el
cvs-status.el
diff-mode.el ; * lisp/vc/diff-mode.el (diff-mode-shared-map): Document. 2025-05-13 10:09:26 +01:00
diff.el Merge from origin/emacs-30 2025-03-01 10:01:54 -05:00
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el
ediff-merg.el
ediff-mult.el Guard against user saving ediff-meta-diff-buffer 2025-03-09 08:10:17 -03:00
ediff-ptch.el Prefer '(evenp A)' to '(= 0 (% A 2))' 2025-02-17 05:37:10 +01:00
ediff-util.el Fix 'ediff-before-setup-hook' 2025-07-05 11:07:29 +03:00
ediff-vers.el Fix unwanted revert file prompt after repeated vc-ediff (bug#11605) 2025-03-04 11:58:15 +08:00
ediff-wind.el ; * lisp/vc/ediff-wind.el (ediff-with-live-window): Use cl-once-only 2025-04-07 10:19:58 +08:00
ediff.el ediff-current-file: New optional startup-hooks arg 2025-04-05 09:36:29 +08:00
emerge.el Fix emerge.el for remote files 2025-04-20 18:16:14 +02:00
log-edit.el Log Edit: Don't auto-fill within the headers 2025-07-06 14:03:31 +01:00
log-view.el New user option: vc-allow-async-diff 2025-06-13 06:00:52 +03:00
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
pcvs.el Fix regression in 'kill-this-buffer' (bug#78809) 2025-06-17 16:08:32 +02:00
smerge-mode.el lisp/vc/smerge-mode.el (smerge--refine-highlight-change): Fix misalignment 2025-06-26 12:55:27 -04:00
vc-annotate.el Use short revisions by default when navigating to revisions 2025-07-07 09:32:12 +01:00
vc-bzr.el VC: Deprecate log-incoming and log-outgoing backend functions 2025-06-06 09:53:32 +01:00
vc-cvs.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
vc-dir.el vc-dir-update: Update 'backend' VC properties 2025-06-28 10:30:29 +01:00
vc-dispatcher.el Resolve FIXME regarding running vc-checkin-hook 2025-07-07 15:44:34 +01:00
vc-filewise.el
vc-git.el Resolve FIXME regarding running vc-checkin-hook 2025-07-07 15:44:34 +01:00
vc-hg.el Resolve FIXME regarding running vc-checkin-hook 2025-07-07 15:44:34 +01:00
vc-hooks.el VC: New incoming & outgoing diff commands (bug#62940) 2025-07-04 12:39:29 +01:00
vc-rcs.el New user option: vc-allow-async-diff 2025-06-13 06:00:52 +03:00
vc-sccs.el
vc-src.el
vc-svn.el New buffer-local vc-buffer-overriding-fileset and vc-buffer-revision 2025-04-11 11:46:05 +08:00
vc.el Resolve FIXME regarding running vc-checkin-hook 2025-07-07 15:44:34 +01:00