In our process, the merge of a feature branch onto the trunk branch is made manually.
Due to a recent issue with huge commits (
request #15077), we detected a possible inversion on arguments in a call.
In our situation, the code went wrong trying to evaluate the mergeability and the potential conflicts. But the function `detectMergeabilityStatus` is supposed to test FastForward before checking conflicts.
Looking deeper, it seems there is an inversion of parameters in the call to `isAncestor` in `isFastForwardable`.
I'm sorry to not propose a fix right now, and some tests to validate the issue and solution. But I was stuck by investigating on this issue and there is still urgent work to fix.