mergetools / codecompareon commit git p4 test: make sure P4CONFIG relative path works (9e7b8ef)
   1diff_cmd () {
   2        "$merge_tool_path" "$LOCAL" "$REMOTE"
   3}
   4
   5merge_cmd () {
   6        touch "$BACKUP"
   7        if $base_present
   8        then
   9                "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" -BF="$BASE" \
  10                        -RF="$MERGED"
  11        else
  12                "$merge_tool_path" -MF="$LOCAL" -TF="$REMOTE" \
  13                        -RF="$MERGED"
  14        fi
  15        check_unchanged
  16}
  17
  18translate_merge_tool_path() {
  19        if merge_mode
  20        then
  21                echo CodeMerge
  22        else
  23                echo CodeCompare
  24        fi
  25}