Fixes T13481. When identifying the URI for a remote, fall back from "git remote get-url" to "git ls-remote --get-url" to "git config remote.<name>.url" based on command output and version tests.
Details
Details
- Reviewers
- None
- Maniphest Tasks
- T13481: Don't require "git remote get-url" in Arcanist
- Commits
- rARC70c0fd3f2233: In Git, fall back across versions more cleanly when trying to get the URI for a…
Ran arc land --hold, rigged the subcommands to fail to try all three fallbacks, ran arc land --hold --remote asdfasdf to get an explicit failure.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable