Skip to contentSkip to conversation

mergetools: add support for guiffy

PATCH In review Bill Ritcher 2 participants 2 messages Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mergetools: add support for guiffy

Add guiffy as difftool and mergetool

guiffy is available on Windows, Linux, and MacOS

---
 mergetools/guiffy | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 mergetools/guiffy
mergetools/guiffy new file +18 -0
new file mode 100644
index 000000000..8b23a13c4
@@ -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
+}
Signature · 1 line
2.15.1.windows.2
Acked-by on v1 1/1
#1 lore raw
Quoted 36 lines · Bill Ritcher

Add guiffy as difftool and mergetool

guiffy is available on Windows, Linux, and MacOS

---
 mergetools/guiffy | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 mergetools/guiffy
mergetools/guiffy new file +18 -0
new file mode 100644
index 000000000..8b23a13c4
@@ -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
+}
Signature · 1 line
2.15.1.windows.2

I tested this on Linux and it works great. Thanks Bill.

cheers,

Signature · 1 line
David