Function: magit-git-executable

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

Signature

(magit-git-executable)

Documentation

Return value of magit-git-executable(var)/magit-git-executable(fun) or magit-remote-git-executable.

The variable is chosen depending on whether default-directory is remote.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defsubst magit-git-executable ()
  "Return value of `magit-git-executable' or `magit-remote-git-executable'.
The variable is chosen depending on whether `default-directory'
is remote."
  (if (file-remote-p default-directory)
      magit-remote-git-executable
    magit-git-executable))