aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@toptal.com>2026-04-26 12:29:52 +0100
committerBozhidar Batsov <bozhidar@toptal.com>2026-04-26 12:29:52 +0100
commitccd8052beb84a889565ffd08a58cf643e2e439f3 (patch)
tree7b45e149914261c4c3591a7fdd97cf1207382a72 /LICENSE
parentfa890caa2b21af3895b302e22e1d74df8ee55453 (diff)
Skip git submodule scan when there is no .gitmodules
`projectile-get-immediate-sub-projects' was unconditionally shelling out to `git submodule --quiet foreach ...' on every indexing call for git projects, even when the project had no submodules at all. For monorepos that re-index the project root often this is pure overhead. Use `locate-dominating-file' to look for `.gitmodules' along the parent chain (PATH may be inside a git repo without being its toplevel) and skip the shell-out when none is found. Also tighten `projectile-discover-projects-in-directory' to filter `.' / `..' via `directory-files-no-dot-files-regexp' instead of a post-filter `member' check, matching the indexing walker's style.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions