]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff/xdl_cleanup_records: make limits more clear
authorEzekiel Newren <ezekielnewren@gmail.com>
Wed, 29 Apr 2026 22:08:13 +0000 (22:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Apr 2026 00:16:50 +0000 (09:16 +0900)
commitf99a023df2c3024ccfedc4e1259d5b0732154461
tree0b4a039b2d73016026909308aee4bd298f7d0edd
parent216802587ef8505568e533788d06015c0bfc6fef
xdiff/xdl_cleanup_records: make limits more clear

Make the handling of per-file limits and the minimal-case clearer.
  * Use explicit per-file limit variables (mlim1, mlim2) and initialize
    them.
  * The additional condition `!need_min` is redudant now, remove it.
Best viewed with --color-words.

Helped-by: Phillip Wood
Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c