Skip to content

fix: Reachable dependency with get-urlΒ #1097

@curt-weber

Description

@curt-weber

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature or requestp3Issues that we currently consider unimportant

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions