Merge branch 'master' of git://ozlabs.org/~paulus/gitk
[git] / mergetools / ecmerge
1 diff_cmd () {
2         "$merge_tool_path" --default --mode=diff2 "$LOCAL" "$REMOTE"
3 }
4
5 merge_cmd () {
6         touch "$BACKUP"
7         if $base_present
8         then
9                 "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" \
10                         --default --mode=merge3 --to="$MERGED"
11         else
12                 "$merge_tool_path" "$LOCAL" "$REMOTE" \
13                         --default --mode=merge2 --to="$MERGED"
14         fi
15         check_unchanged
16 }