Currently, when Maestro creates diff patches for a codeflow, it creates separate patches for the repo itself, and any submodules that the repo may contain. When creating the submodule patches, the git operation does not benefit from any attributes defined in the source repo itself - because it is a different git repo.
One consequence of this is that it makes it impossible to use the vmr-ignore and vmr-preserve git attributes for paths that are in submodules.
It should be possible to read the repo's root .gitattributes file, or compute the git attributes at the submodule's path in the source repo, and inject them before creating the submodule patches.