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
May 30 2024, 4:24 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6290214
Default Alt Text
D7592.diff (583 B)

Event Timeline