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:
parent
d2e9aee16d
commit
addd0bbf3b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue