Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14061490
D7592.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
583 B
Referenced Files
None
Subscribers
None
D7592.diff
View Options
Index: src/applications/differential/DifferentialGetWorkingCopy.php
===================================================================
--- src/applications/differential/DifferentialGetWorkingCopy.php
+++ src/applications/differential/DifferentialGetWorkingCopy.php
@@ -24,6 +24,12 @@
'clone -- file://%s %s',
$origin_path,
$path);
+
+ if (!$repo->isHosted()) {
+ id(new ArcanistGitAPI($path))->execxLocal(
+ 'remote set-url origin %s',
+ $repo->getRemoteURI());
+ }
}
$workspace = new ArcanistGitAPI($path);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 6:46 AM (5 m, 49 s ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729152
Default Alt Text
D7592.diff (583 B)
Attached To
Mode
D7592: Semi-fix git cloning for non-bare repos for landing
Attached
Detach File
Event Timeline
Log In to Comment