]> git.ipfire.org Git - thirdparty/git.git/commit
merge-file: add --diff-algorithm option
authorAntonin Delpeuch <antonin@delpeuch.eu>
Mon, 20 Nov 2023 19:18:52 +0000 (19:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Nov 2023 05:23:06 +0000 (14:23 +0900)
commit4f7fd79e57f483282bc21bf5b0669f9c8229d32a
treebdb53d009940ab6aa32c4f903c7fc8030769635f
parent564d0252ca632e0264ed670534a51d18a689ef5d
merge-file: add --diff-algorithm option

Make it possible to use other diff algorithms than the 'myers'
default algorithm, when using the 'git merge-file' command, to help
avoid spurious conflicts by selecting a more recent algorithm such
as 'histogram', for instance when using 'git merge-file' as part of
a custom merge driver.

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Reviewed-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-merge-file.txt
builtin/merge-file.c
t/t6403-merge-file.sh