Variable: vc-async-checkin

vc-async-checkin is a customizable variable defined in vc.el.gz.

Value

nil

Documentation

If non-nil, checkin operations should be done asynchronously.

This is useful to set as a directory local variable in repositories where the VCS in use performs checkin operations slowly. For example, Git is slow when committing changes to very large files, and Mercurial can be slow when there is a very large number of files.

While an asynchronous checkin operation is in progress, Emacs installs a before-save-hook to switch back to a synchronous checkin if you ask to save buffers under the current VC tree. This is to avoid nondeterminism regarding exactly what changes get checked in.

Not supported by all backends.

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defcustom vc-async-checkin nil
  "If non-nil, checkin operations should be done asynchronously.

This is useful to set as a directory local variable in repositories
where the VCS in use performs checkin operations slowly.
For example, Git is slow when committing changes to very large files,
and Mercurial can be slow when there is a very large number of files.

While an asynchronous checkin operation is in progress, Emacs installs a
`before-save-hook' to switch back to a synchronous checkin if you ask to
save buffers under the current VC tree.  This is to avoid nondeterminism
regarding exactly what changes get checked in.

Not supported by all backends."
  :type 'boolean
  :safe #'booleanp
  :version "31.1")