From: epriestley Date: Fri, 23 Mar 2012 15:53:47 +0000 (-0700) Subject: Minor, fix inverted condition. X-Git-Tag: conduit-4~79 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3991e679e7c21ba304540ac1462f4fee3b63de40;p=arcanist.git Minor, fix inverted condition. --- diff --git a/src/workflow/land/ArcanistLandWorkflow.php b/src/workflow/land/ArcanistLandWorkflow.php index 6b1b47da..c0552a96 100644 --- a/src/workflow/land/ArcanistLandWorkflow.php +++ b/src/workflow/land/ArcanistLandWorkflow.php @@ -128,6 +128,8 @@ EOTEXT $use_squash = !$this->isHistoryImmutable(); } + var_dump($use_squash); + $repository_api = $this->getRepositoryAPI(); if (!($repository_api instanceof ArcanistGitAPI)) { throw new ArcanistUsageException("'arc land' only supports git."); @@ -248,7 +250,7 @@ EOTEXT $repository_api->execxLocal('checkout %s', $onto); - if ($use_squash) { + if (!$use_squash) { // In immutable histories, do a --no-ff merge to force a merge commit with // the right message. chdir($repository_api->getPath());