From addd0bbf3b46463704f6d66a2046fc4d86b2c527 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 3 Dec 2013 10:31:29 -0800 Subject: [PATCH] Fix a constant in the hook to reduce the number of dragons Test Plan: Will push. Auditors: btrahan --- src/applications/diffusion/engine/DiffusionCommitHookEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php index c91af84c11..7f86cfc4ce 100644 --- a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php +++ b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php @@ -206,7 +206,7 @@ final class DiffusionCommitHookEngine extends Phobject { continue; } - if ($update['operation'] == 'change') { + if ($update['operation'] == 'update') { if ($update['old'] == $update['merge-base']) { // This is a fast-forward update to an existing branch. // These are safe.