Page MenuHomePhabricator

D18611.id44682.diff
No OneTemporary

D18611.id44682.diff

diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -768,7 +768,10 @@
$input = strlen($input)."\n".$input."0\n";
}
- $command = csprintf('%s serve --stdio', $bin);
+ $command = csprintf(
+ '%s serve -R %s --stdio',
+ $bin,
+ $repository->getLocalPath());
$command = PhabricatorDaemon::sudoCommandAsDaemonUser($command);
list($err, $stdout, $stderr) = id(new ExecFuture('%C', $command))

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 8:48 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7691706
Default Alt Text
D18611.id44682.diff (680 B)

Event Timeline