2015-05-20 17:07:23 +08:00
|
|
|
diff_cmd () {
|
|
|
|
"$merge_tool_path" -u -e "$LOCAL" "$REMOTE"
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-31 03:19:09 +08:00
|
|
|
diff_cmd_help () {
|
|
|
|
echo "Use WinMerge (requires a graphical session)"
|
|
|
|
}
|
|
|
|
|
2015-05-20 17:07:23 +08:00
|
|
|
merge_cmd () {
|
|
|
|
# mergetool.winmerge.trustExitCode is implicitly false.
|
|
|
|
# touch $BACKUP so that we can check_unchanged.
|
|
|
|
"$merge_tool_path" -u -e -dl Local -dr Remote \
|
|
|
|
"$LOCAL" "$REMOTE" "$MERGED"
|
|
|
|
}
|
|
|
|
|
|
|
|
translate_merge_tool_path() {
|
2016-03-26 07:17:56 +08:00
|
|
|
mergetool_find_win32_cmd "WinMergeU.exe" "WinMerge"
|
2015-05-20 17:07:23 +08:00
|
|
|
}
|
2022-03-31 03:19:09 +08:00
|
|
|
|
|
|
|
merge_cmd_help () {
|
|
|
|
echo "Use WinMerge (requires a graphical session)"
|
|
|
|
}
|