Given git submodule with relative path:
.gitmodules
[submodule "a"]
path = a
url = ../a
SourceLink produces a warning and doesn't index files.
It doesn't produce a warning when a full URL is specified.
[submodule "a"]
path = a
url = htttp://github.com/company/a