aboutsummaryrefslogtreecommitdiffstats
path: root/t/t8015-blame-diff-algorithm.sh
diff options
context:
space:
mode:
authorAntonin Delpeuch <antonin@delpeuch.eu>2025-11-06 22:41:53 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-07 07:32:52 -0800
commitbd7255c992b6e0423246d15936981c45e3813a99 (patch)
tree19399734fe7a05ca94e0c5d71803c56ba52472a0 /t/t8015-blame-diff-algorithm.sh
parentSync with Git 2.51.2 (diff)
downloadgit-bd7255c992b6e0423246d15936981c45e3813a99.tar.gz
git-bd7255c992b6e0423246d15936981c45e3813a99.zip
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 '')
0 files changed, 0 insertions, 0 deletions