From 3991e679e7c21ba304540ac1462f4fee3b63de40 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 23 Mar 2012 08:53:47 -0700 Subject: [PATCH] Minor, fix inverted condition. --- src/workflow/land/ArcanistLandWorkflow.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); -- 2.43.0