1diff_cmd () {2"$merge_tool_path" "$LOCAL" "$REMOTE"3}45merge_cmd () {6touch "$BACKUP"7if $base_present8then9"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \10-mergeoutput="$MERGED"11else12"$merge_tool_path" "$LOCAL" "$REMOTE" \13-mergeoutput="$MERGED"14fi15check_unchanged16}1718translate_merge_tool_path() {19if type bcomp >/dev/null 2>/dev/null20then21echo bcomp22else23echo bcompare24fi25}