summaryrefslogtreecommitdiff
path: root/t/unit-tests/clar/example/example.c
diff options
context:
space:
mode:
authorAntonin Delpeuch <antonin@delpeuch.eu>2025-11-17 08:04:31 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-17 09:31:59 -0800
commit881793c4f71c84e70af256c5721475c7c088b3f7 (patch)
treefccca8bde8b9607a55a22b7d691447681943c9ec /t/unit-tests/clar/example/example.c
parent419c72cb8ada252b260efc38ff91fe201de7c8c3 (diff)
xdiff: add 'minimal' to XDF_DIFF_ALGORITHM_MASK
The XDF_DIFF_ALGORITHM_MASK bit mask only includes bits for the patience and histogram diffs, not for the minimal one. This means that when reseting the diff algorithm to the default one, one needs to separately clear the bit for the minimal diff. There are places in the code that fail to do that: merge-ort.c and builtin/merge-file.c. Add the XDF_NEED_MINIMAL bit to the bit mask, and remove the separate clearing of this bit in the places where it hasn't been forgotten. Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/clar/example/example.c')
0 files changed, 0 insertions, 0 deletions