1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 12:30:56 +01:00

Fix a constant in the hook to reduce the number of dragons

Test Plan: Will push.

Auditors: btrahan
This commit is contained in:
epriestley 2013-12-03 10:31:29 -08:00
parent d2e9aee16d
commit addd0bbf3b

View file

@ -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.