-
Notifications
You must be signed in to change notification settings - Fork 55
git submodule support #228
Comments
I've actually been able to do this work myself, with one small problem...I have everything working well to check submodules for source if the files cannot be found in the main repo, and to emit the sourcelink.json with URLs corresponding to the commits in the main git index but for some reason when I build and check all the files are using the main URL.... e.g.
According to the docs:
However, the result is that all of them are using the top URL...and
I swear I had it working when I did things manually but I've been over the source and I don't see anything preventing it... |
Ok I opened pull request #229 |
This is supported by https://github.com/dotnet/sourcelink/ |
One of the issues I'm facing with this otherwise wonderful git source link generator is that it will only check the root git repo for source files. However, I have a project that pulls a shared project from a submodule and so all those files cannot be found. If I manually set up sourcelink.json, then I can get those URLs to work but there is no line ending magic done. Is there a way, or likely to be a way, to specify in a similar way two different repos for sourcelink-git to use based on filepath like the sourcelink.json file itself?
The text was updated successfully, but these errors were encountered: