blob: 9f60e8da6527cf28dcc5ad4a3e5f7f0ca9442cb4 [file] [log] [blame]
Sebastian Schuberth755e8b32012-08-10 10:21:06 +02001diff_cmd () {
2 "$merge_tool_path" "$LOCAL" "$REMOTE"
3}
4
5merge_cmd () {
Sebastian Schuberth755e8b32012-08-10 10:21:06 +02006 if $base_present
7 then
8 "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" -BF="$BASE" \
9 -RF="$MERGED"
10 else
11 "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" \
12 -RF="$MERGED"
13 fi
Sebastian Schuberth755e8b32012-08-10 10:21:06 +020014}
15
16translate_merge_tool_path() {
17 if merge_mode
18 then
19 echo CodeMerge
20 else
21 echo CodeCompare
22 fi
23}