Function: projectile-get-ext-command

projectile-get-ext-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-get-ext-command VCS)

Documentation

Determine which external command to invoke based on the project's VCS.

Fallback to a generic command when not in a VCS-controlled project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-get-ext-command (vcs)
  "Determine which external command to invoke based on the project's VCS.
Fallback to a generic command when not in a VCS-controlled project."
  (pcase vcs
    ('git (if (and projectile-git-use-fd projectile-fd-executable)
              (concat
               projectile-fd-executable
               " "
               projectile-git-fd-args)
            projectile-git-command))
    ('hg projectile-hg-command)
    ('fossil projectile-fossil-command)
    ('bzr projectile-bzr-command)
    ('darcs projectile-darcs-command)
    ('pijul projectile-pijul-command)
    ('svn projectile-svn-command)
    ('sapling projectile-sapling-command)
    ('jj projectile-jj-command)
    (_ projectile-generic-command)))