diff options
Diffstat (limited to 'mergetools/winmerge')
-rw-r--r-- | mergetools/winmerge | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mergetools/winmerge b/mergetools/winmerge new file mode 100644 index 0000000000..f3819d316a --- /dev/null +++ b/mergetools/winmerge @@ -0,0 +1,17 @@ +diff_cmd () { + "$merge_tool_path" -u -e "$LOCAL" "$REMOTE" + return 0 +} + +merge_cmd () { + # mergetool.winmerge.trustExitCode is implicitly false. + # touch $BACKUP so that we can check_unchanged. + touch "$BACKUP" + "$merge_tool_path" -u -e -dl Local -dr Remote \ + "$LOCAL" "$REMOTE" "$MERGED" + check_unchanged +} + +translate_merge_tool_path() { + mergetool_find_win32_cmd "WinMergeU.exe" "WinMerge" +} |