From: Junio C Hamano Date: Sun, 19 Nov 2023 23:30:25 GMT Subject: Re: [PATCH] merge-file: add --diff-algorithm option Message-ID: In-Reply-To: Phillip Wood writes: > I can see there's an argument for changing the default algorithm of > "git merge-file" to match what "ort" uses. I know Elijah found the > histogram algorithm gave better results in his testing when he was > developing "ort". While it would be a breaking change if on the > average the new default gives better conflicts it might be worth > it. This patch would mean that someone wanting to use the "myers" > algorithm could still do so. Sounds like a sensible thing to do. First allow to configure the custom algorithm from the command line option (and optionally via a configuration variable) and ship it in a release, start giving a warning if the using script did not specify the configuration or the command line option and used the current default and ship it in the next release, wait for a few releases and then finally flip the default, or something like that. Thanks.