Description
At Git::reachable when checking the ls-remote it doesn't pass --get-url which can be useful with git config overrides (such as insteadOf).
Steps To Reproduce
- Add a rewrite: `git config --global url."git@github.com-example:ORG/repo.git".insteadOf "git@github.com:ORG/repo.git"
- Attempt to pull dependencies:
very_good packages get
- Notice that it doesn't respect rewrite
- Attempt to pull dependencies:
flutter pub get
- Respects rewrite
Expected Behavior
If --get-url is passed the reachable check will resolve similarly to the actual pull
Additional context
Description
At Git::reachable when checking the
ls-remoteit doesn't pass--get-urlwhich can be useful with git config overrides (such asinsteadOf).Steps To Reproduce
very_good packages getflutter pub getExpected Behavior
If
--get-urlis passed thereachablecheck will resolve similarly to the actual pullAdditional context
insteadOfdocumentation