1diff_cmd () {
2"$merge_tool_path" "$LOCAL" "$REMOTE"
3}
45
merge_cmd () {
6if $base_present
7then
8"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \
9-mergeoutput="$MERGED"
10else
11"$merge_tool_path" "$LOCAL" "$REMOTE" \
12-mergeoutput="$MERGED"
13fi
14}
1516
translate_merge_tool_path() {
17if type bcomp >/dev/null 2>/dev/null
18then
19echo bcomp
20else
21echo bcompare
22fi
23}