I have a Git repository which uses a submodule for a 3rd party library. This 3rd party library also uses submodules.
I actually found a very obscure bug in one of the 3rd party submodules which is literally a 2-line fix to get it working for my situation.
How can I keep this change around in my actual Git repository, without having to fork the 3rd party library, update the submodule URL and point that to another fork so I can commit and fix the bug? Can I override the 3rd party submodules URLs from my Git repository?
If it's not possible I'll probably end up making a pre-build event to copy my version of the file to the right location, but that feels extremely hacky... But I don't feel like having to maintain two forks for a 3rd party library that overal works just fine either.
I'm aware I could make a pull request to get the bug fixed, but lets assume the author would not be interested in having a fix that only fixes something for my particular case, which would not be unreasonable - yet, I still want this fix in my repository.