Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15413080
D17110.id41149.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
497 B
Referenced Files
None
Subscribers
None
D17110.id41149.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17110: tighten remote URI error handling with idiosyncratic remote names
Attached
Detach File
Event Timeline
Log In to Comment