]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'yc/histogram-hunk-shift-fix' into seen
authorJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 18:37:37 +0000 (10:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 18:37:37 +0000 (10:37 -0800)
The final clean-up phase of the diff output could turn the result of
histogram diff algorithm suboptimal, which has been corrected.

* yc/histogram-hunk-shift-fix:
  xdiff: re-diff shifted change groups when using histogram algorithm

1  2 
t/meson.build
xdiff/xdiffi.c

diff --cc t/meson.build
index 51f2a9b4d208f57b116e0950d497eb8b7e0b28a3,d6c61b5ab55ea5d797de864c4f5acea57bfd38b8..dc66c9dc876a2178aa538f000c4fd6b204acc46b
@@@ -504,7 -496,7 +504,8 @@@ integration_tests = 
    't4070-diff-pairs.sh',
    't4071-diff-minimal.sh',
    't4072-diff-max-depth.sh',
 +  't4073-diff-stat-name-width.sh',
+   't4074-diff-shifted-matched-group.sh',
    't4100-apply-stat.sh',
    't4101-apply-nonl.sh',
    't4102-apply-rename.sh',
diff --cc xdiff/xdiffi.c
Simple merge