fetch: fix segfault in --negotiate-only without --negotiation-tip=*
[alt-git.git] / mergetools / bc
blob26c19d46a5bdee5739b9a9425cc48fac3efd6bfb
1 diff_cmd () {
2         "$merge_tool_path" "$LOCAL" "$REMOTE"
5 merge_cmd () {
6         if $base_present
7         then
8                 "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \
9                         -mergeoutput="$MERGED"
10         else
11                 "$merge_tool_path" "$LOCAL" "$REMOTE" \
12                         -mergeoutput="$MERGED"
13         fi
16 translate_merge_tool_path() {
17         if type bcomp >/dev/null 2>/dev/null
18         then
19                 echo bcomp
20         else
21                 echo bcompare
22         fi
25 list_tool_variants () {
26         echo bc
27         echo bc3
28         echo bc4