very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

fix: Reachable dependency with get-url

Open curt-weber opened this issue 6 months ago • 3 comments

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

  1. Add a rewrite: `git config --global url."[email protected]:ORG/repo.git".insteadOf "[email protected]:ORG/repo.git"
  2. Attempt to pull dependencies: very_good packages get
  3. Notice that it doesn't respect rewrite
  4. Attempt to pull dependencies: flutter pub get
  5. Respects rewrite

Expected Behavior If --get-url is passed the reachable check will resolve similarly to the actual pull

Additional context

curt-weber avatar Aug 02 '24 18:08 curt-weber