Sync with 'maint'
[git/gitster.git] / mergetools / ecmerge
blob0d4d6098745e677f432a8c1affd793e9148f43e0
1 diff_cmd () {
2         "$merge_tool_path" --default --mode=diff2 "$LOCAL" "$REMOTE"
5 diff_cmd_help () {
6         echo "Use ECMerge (requires a graphical session)"
9 merge_cmd () {
10         if $base_present
11         then
12                 "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" \
13                         --default --mode=merge3 --to="$MERGED"
14         else
15                 "$merge_tool_path" "$LOCAL" "$REMOTE" \
16                         --default --mode=merge2 --to="$MERGED"
17         fi
20 merge_cmd_help () {
21         echo "Use ECMerge (requires a graphical session)"