Function: magit-git-executable-find
magit-git-executable-find is a byte-compiled function defined in
magit-git.el.
Signature
(magit-git-executable-find COMMAND)
Documentation
Search for COMMAND in Git's exec path, falling back to exec-path(var)/exec-path(fun).
Like executable-find, return the absolute file name of the
executable.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-git-executable-find (command)
"Search for COMMAND in Git's exec path, falling back to `exec-path'.
Like `executable-find', return the absolute file name of the
executable."
(or (locate-file command
(list (concat
(file-remote-p default-directory)
(or (magit-git-string "--exec-path")
(error "`git --exec-path' failed"))))
exec-suffixes
#'file-executable-p)
(executable-find command t)))