Function: magit-toggle-subprocess-record

magit-toggle-subprocess-record is an interactive and byte-compiled function defined in magit-process.el.

Signature

(magit-toggle-subprocess-record)

Documentation

Toggle whether subprocess invocations are recorded.

When enabled, all subprocesses started by magit-process-file are logged into the buffer specified by magit-process-record-buffer-name using the format magit-process-record-entry-format. This is for debugging purposes.

This is in addition to and distinct from the default logging done by default, and additional logging enabled with ~magit-toggle-git-debug~.

For alternatives, see info node (magit)Debugging Tools.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-process.el
(defun magit-toggle-subprocess-record ()
  "Toggle whether subprocess invocations are recorded.

When enabled, all subprocesses started by `magit-process-file' are
logged into the buffer specified by `magit-process-record-buffer-name'
using the format `magit-process-record-entry-format'.  This is for
debugging purposes.

This is in addition to and distinct from the default logging done by
default, and additional logging enabled with ~magit-toggle-git-debug~.

For alternatives, see info node `(magit)Debugging Tools'."
  (interactive)
  (setq magit-process-record-invocations (not magit-process-record-invocations))
  (message "Recording of subprocess invocations %s"
           (if magit-process-record-invocations "enabled" "disabled")))