I have a single git repo with a directory structure that looks like this:
root ---------- src
|
|
|------ 3rd
root
is my working directory, 3rd
consists of multiple third-party git submodules.
projectile-find-file
only finds files in src
, it does not work for the submodules.
projectile-git-command
usesgit ls-files
to list the files belonging to the project,so I resolved the problem with the following code:
git-ls-all-files
is a shell script: