]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: cleanup xdl_clean_mmatch()
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Mon, 4 May 2026 14:06:19 +0000 (15:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 May 2026 07:20:05 +0000 (16:20 +0900)
commit53d13887b8581d46dffc1f4ee2622c977b65ecb5
treeead11376cf551f47a5ba0eb80bb41a33ecb207f2
parenta81411253323208e1e8d3591247c27fefa8a2045
xdiff: cleanup xdl_clean_mmatch()

Remove the "s" parameter as, since the last commit, this function
is always called with s == 0. Also change parameter "e" to expect a
length, rather than the index of the last line to simplify the caller.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c