Browse Source
Teach difftool and mergetool about the Sublime Merge "smerge" command. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
David Aguilar
6 years ago
committed by
Junio C Hamano
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
diff_cmd () { |
||||||
|
"$merge_tool_path" mergetool "$LOCAL" "$REMOTE" -o "$MERGED" |
||||||
|
} |
||||||
|
|
||||||
|
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 |
||||||
|
} |
Loading…
Reference in new issue