Function: magit-git-insert

magit-git-insert is a natively compiled function defined in magit-git.el.

Signature

(magit-git-insert &rest ARGS)

Documentation

Execute Git with ARGS, insert stdout at point and return exit code.

If magit-git-debug is non-nil and the exit code is non-zero, then insert the run command and stderr into the process buffer.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit-git-insert (&rest args)
  "Execute Git with ARGS, insert stdout at point and return exit code.
If `magit-git-debug' is non-nil and the exit code is non-zero, then
insert the run command and stderr into the process buffer."
  (apply #'magit--git-insert nil args))