mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
Address feedback from D14530
Summary: See D14530. Test Plan: Careful scrutiny. Reviewers: chad, alexmv Reviewed By: alexmv Differential Revision: https://secure.phabricator.com/D14554
This commit is contained in:
parent
e730ececbc
commit
c71fe67ccb
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
|
||||||
if (version_compare($version, '1.7.5', '>=')) {
|
if (version_compare($version, '1.7.5', '>=')) {
|
||||||
list($stdout) = $this->execxLocal('ls-remote --get-url %s', $remote);
|
list($stdout) = $this->execxLocal('ls-remote --get-url %s', $remote);
|
||||||
} else {
|
} else {
|
||||||
list($stdout) = $this->execxLocal('config %s', "remote.$remote.url");
|
list($stdout) = $this->execxLocal('config %s', "remote.{$remote}.url");
|
||||||
}
|
}
|
||||||
|
|
||||||
$uri = rtrim($stdout);
|
$uri = rtrim($stdout);
|
||||||
|
|
Loading…
Reference in a new issue