midx: reject empty `--preferred-pack`'s
[git/debian.git] / mergetools / codecompare
blob9f60e8da6527cf28dcc5ad4a3e5f7f0ca9442cb4
1 diff_cmd () {
2         "$merge_tool_path" "$LOCAL" "$REMOTE"
5 merge_cmd () {
6         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
16 translate_merge_tool_path() {
17         if merge_mode
18         then
19                 echo CodeMerge
20         else
21                 echo CodeCompare
22         fi