Skip to content

Make merge-ref diffs the default comparison mode

What does this MR do?

Makes merge-ref in diffs the default comparison mode and also hides the BASE comparison option when merge-ref is available.

Per the issue here: #198458 (closed)

Merge request diffs are currently calculated by git diff target...source which compares HEAD of target with the merge base of target and source. This works well until changes from the target branch are merged in to the source branch, creating a complete mess of the diff.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Closes #198458 (closed)

Edited by Gary Holtz

Merge request reports