]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Minor, fix bad conditional.
authorepriestley <git@epriestley.com>
Fri, 3 Feb 2012 23:26:13 +0000 (15:26 -0800)
committerepriestley <git@epriestley.com>
Fri, 3 Feb 2012 23:26:13 +0000 (15:26 -0800)
src/workflow/diff/ArcanistDiffWorkflow.php

index eb6c010aad7135cbdfd1f102463c0030cc59bf5d..1fd820785723e489354448dbc824a6e4e1ba5c87 100644 (file)
@@ -986,7 +986,7 @@ EOTEXT
       }
       $lint_workflow = $this->buildChildWorkflow('lint', $argv);
 
-      if (!$this->shouldAmend()) {
+      if ($this->shouldAmend()) {
         // TODO: We should offer to create a checkpoint commit.
         $lint_workflow->setShouldAmendChanges(true);
       }