Function: magit-process-git

magit-process-git is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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)))