]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Address feedback from D14530
authorepriestley <git@epriestley.com>
Mon, 23 Nov 2015 18:30:44 +0000 (10:30 -0800)
committerepriestley <git@epriestley.com>
Mon, 23 Nov 2015 18:32:13 +0000 (10:32 -0800)
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

index a3c79312d5d486826833c9828ce19b33c317e8d5..8d8181e3e230a7d82e397fa5fc1112e1598e238d 100644 (file)
@@ -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);