Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13212801
D9387.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
902 B
Referenced Files
None
Subscribers
None
D9387.diff
View Options
diff --git a/src/applications/differential/landing/DifferentialLandingToHostedGit.php b/src/applications/differential/landing/DifferentialLandingToHostedGit.php
--- a/src/applications/differential/landing/DifferentialLandingToHostedGit.php
+++ b/src/applications/differential/landing/DifferentialLandingToHostedGit.php
@@ -102,6 +102,7 @@
ArcanistRepositoryAPI $workspace,
PhabricatorUser $user) {
+ putenv('PHABRICATOR_USER='.$user->getUsername());
$workspace->execxLocal("push origin HEAD:master");
}
@@ -123,11 +124,6 @@
return;
}
- // TODO: This temporarily disables this action, because it doesn't work
- // and is confusing to users. If you want to use it, comment out this line
- // for now and we'll provide real support eventually.
- return;
-
return $this->createActionView(
$revision,
pht('Land to Hosted Repository'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
May 18 2024, 7:06 AM (6 w, 58 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6278099
Default Alt Text
D9387.diff (902 B)
Attached To
Mode
D9387: Fix 'PHABRICATOR_USER should be defined' during land to hosted git repo
Attached
Detach File
Event Timeline
Log In to Comment