From: Bill Ritcher Date: Thu, 5 Apr 2018 13:55:01 +0000 (-0500) Subject: mergetools: add support for guiffy X-Git-Tag: v2.18.0-rc0~123^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6ceb658c9905cad2436810370c6590fc260a6b64?ds=sidebyside mergetools: add support for guiffy Add guiffy as difftool and mergetool guiffy is available on Windows, Linux, and MacOS Signed-off-by: Bill Ritcher Reviewed-by: David Aguilar Signed-off-by: Junio C Hamano --- diff --git a/mergetools/guiffy b/mergetools/guiffy new file mode 100644 index 0000000000..8b23a13c41 --- /dev/null +++ b/mergetools/guiffy @@ -0,0 +1,18 @@ +diff_cmd () { + "$merge_tool_path" "$LOCAL" "$REMOTE" +} + +merge_cmd () { + if $base_present + then + "$merge_tool_path" -s "$LOCAL" \ + "$REMOTE" "$BASE" "$MERGED" + else + "$merge_tool_path" -m "$LOCAL" \ + "$REMOTE" "$MERGED" + fi +} + +exit_code_trustable () { + true +}