Function: magit-process-git

magit-process-git is a byte-compiled function defined in magit-process.el.

Signature

(magit-process-git DESTINATION &rest ARGS)

Documentation

Call Git synchronously in a separate process, returning its exit code.

DESTINATION specifies how to handle the output, like for call-process, except that file handlers are supported. Enable Cygwin's "noglob" option during the call and ensure unix eol conversion.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-process.el
(defun magit-process-git (destination &rest args)
  "Call Git synchronously in a separate process, returning its exit code.
DESTINATION specifies how to handle the output, like for
`call-process', except that file handlers are supported.
Enable Cygwin's \"noglob\" option during the call and
ensure unix eol conversion."
  (apply #'magit-process-file
         (magit-git-executable)
         nil destination nil
         (magit-process-git-arguments args)))