Function: projectile--git-grep-construct-command
projectile--git-grep-construct-command is a byte-compiled function
defined in projectile.el.
Signature
(projectile--git-grep-construct-command SEARCH-TERM &optional FILE-EXT)
Documentation
Construct Grep option to search files by the extension FILE-EXT.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--git-grep-construct-command (search-term &optional file-ext)
"Construct Grep option to search files by the extension FILE-EXT."
(if (stringp file-ext)
(concat (alist-get 'git projectile-files-with-string-commands)
search-term
" -- '"
file-ext
"'")
(concat (alist-get 'git projectile-files-with-string-commands)
search-term)))