Page MenuHomePhabricator

D7592.diff
No OneTemporary

D7592.diff

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

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)

Event Timeline