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