]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: drop unused flags parameter from recs_match
authorJeff King <peff@peff.net>
Fri, 3 Dec 2021 05:12:01 +0000 (00:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Dec 2021 07:27:53 +0000 (23:27 -0800)
commit1e45db12141789c084e96a46adcf70858f05a1bc
tree0687384bc483d6b674131a17699eba6b03209075
parent25449450c0d07dfd490906c5114f67452aa18de8
xdiff: drop unused flags parameter from recs_match

Since 6b13bc3232 (xdiff: simplify comparison, 2021-11-17), we do not
call xdl_recmatch() from xdiffi.c's recs_match(), so we no longer need
the "flags" parameter. That in turn lets us drop the flags parameters
from the group-slide functions which call it.

There's no functional change here; it's just making these functions a
little simpler.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xdiffi.c