Use .gitmodules to discover origins
.gitmodules
is a file created at the root of a git repository when this repository has submodules. It contains URLs to other Git repositories. We could/should use it for two reasons:
- discovery of new origins
- completeness of the repository containing
.gitmodules
; as it would reference revisions of these other repositories.
Possible ways to implement it:
- A lister scanning through SWH's DB? (ew)
- Indexer?
- Make the git loader create these origins?
Migrated from T3311 (view on Phabricator)