diff options
Diffstat (limited to '')
-rw-r--r-- | mergetools/smerge | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mergetools/smerge b/mergetools/smerge new file mode 100644 index 0000000..5410835 --- /dev/null +++ b/mergetools/smerge @@ -0,0 +1,20 @@ +diff_cmd () { + "$merge_tool_path" mergetool "$LOCAL" "$REMOTE" -o "$MERGED" +} + +diff_cmd_help () { + echo "Use Sublime Merge (requires a graphical session)" +} + +merge_cmd () { + if $base_present + then + "$merge_tool_path" mergetool "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED" + else + "$merge_tool_path" mergetool "$LOCAL" "$REMOTE" -o "$MERGED" + fi +} + +merge_cmd_help () { + echo "Use Sublime Merge (requires a graphical session)" +} |