Page MenuHomePhabricator

D14554.diff
No OneTemporary

D14554.diff

diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
--- a/src/repository/api/ArcanistGitAPI.php
+++ b/src/repository/api/ArcanistGitAPI.php
@@ -540,7 +540,7 @@
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);

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 25, 2:47 PM (2 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722282
Default Alt Text
D14554.diff (537 B)

Event Timeline