From: epriestley Date: Mon, 23 Nov 2015 18:30:44 +0000 (-0800) Subject: Address feedback from D14530 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c71fe67ccbbe826d11a3f83174647de4eae6b30f;p=arcanist.git Address feedback from D14530 Summary: See D14530. Test Plan: Careful scrutiny. Reviewers: chad, alexmv Reviewed By: alexmv Differential Revision: https://secure.phabricator.com/D14554 --- diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php index a3c79312..8d8181e3 100644 --- a/src/repository/api/ArcanistGitAPI.php +++ b/src/repository/api/ArcanistGitAPI.php @@ -540,7 +540,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI { if (version_compare($version, '1.7.5', '>=')) { list($stdout) = $this->execxLocal('ls-remote --get-url %s', $remote); } else { - list($stdout) = $this->execxLocal('config %s', "remote.$remote.url"); + list($stdout) = $this->execxLocal('config %s', "remote.{$remote}.url"); } $uri = rtrim($stdout);