Page MenuHomePhabricator

D17110.id41149.diff
No OneTemporary

D17110.id41149.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
@@ -544,8 +544,8 @@
}
$uri = rtrim($stdout);
- // 'origin' is what ls-remote outputs if no origin remote URI exists
- if (!$uri || $uri === 'origin') {
+ // ls-remote echos the remote name (ie 'origin') if no remote URI is found
+ if (!$uri || $uri === $remote) {
return null;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 20, 4:58 PM (2 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7673710
Default Alt Text
D17110.id41149.diff (497 B)

Event Timeline