Merge branch 'ms/mergetools-kdiff3-on-windows'

On Windows, mergetool has been taught to find kdiff3.exe just like
it finds winmerge.exe.

* ms/mergetools-kdiff3-on-windows:
  mergetools/kdiff3: make kdiff3 work on Windows too
maint
Junio C Hamano 2021-07-08 13:15:04 -07:00
commit b7bd70ddd4
1 changed files with 9 additions and 0 deletions

View File

@ -25,3 +25,12 @@ merge_cmd () {
exit_code_trustable () {
true
}

translate_merge_tool_path() {
if type kdiff3 >/dev/null 2>/dev/null
then
echo kdiff3
else
mergetool_find_win32_cmd "kdiff3.exe" "Kdiff3"
fi
}