From c71fe67ccbbe826d11a3f83174647de4eae6b30f Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 23 Nov 2015 10:30:44 -0800 Subject: [PATCH] Address feedback from D14530 Summary: See D14530. Test Plan: Careful scrutiny. Reviewers: chad, alexmv Reviewed By: alexmv Differential Revision: https://secure.phabricator.com/D14554 --- src/repository/api/ArcanistGitAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);