Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15409127
D7592.id17161.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
592 B
Referenced Files
None
Subscribers
None
D7592.id17161.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->isWorkingCopyBare()) {
+ 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
Thu, Mar 20, 3:21 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7712449
Default Alt Text
D7592.id17161.diff (592 B)
Attached To
Mode
D7592: Semi-fix git cloning for non-bare repos for landing
Attached
Detach File
Event Timeline
Log In to Comment