I am migrating a fairly big project to Git. The project divides in ~30k source code files and ~100k unit test files.
I see two options for the migration:
(1) Put all files into one repository. The huge number of files will make git operations slow (see here). Slow operations will annoy my developers (especially because they work on Windows where Git is slower in general). BTW: File size is no issue for this project.
(2) Put the test files into an own repository with a Git submodule. This will annoy my developers because they always have to perform 2 commits when they fix a bug.
How do you deal with this kind of situation? Is there a third way that I am not seeing?
Thanks!