]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Don't run background process with raw diff source
authorvrana <jakubv@fb.com>
Wed, 26 Sep 2012 00:57:01 +0000 (17:57 -0700)
committervrana <jakubv@fb.com>
Wed, 26 Sep 2012 16:44:42 +0000 (09:44 -0700)
Test Plan:
  $ arc diff

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3553

src/workflow/ArcanistDiffWorkflow.php

index 9bbe7e7fa5f54ad215ebcbe633f528ce53d92846..bf3d7d7a8db0da8e1a592155ba58c8fef1daf4fc 100644 (file)
@@ -377,7 +377,10 @@ EOTEXT
 
     $this->runDiffSetupBasics();
 
-    $background = $this->getArgument('background', !phutil_is_windows());
+    $background = $this->getArgument('background', true);
+    if ($this->isRawDiffSource() || phutil_is_windows()) {
+      $background = false;
+    }
 
     if ($background) {
       $argv = $this->getPassedArguments();