interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / mergetools / bc

37 lines · 584 bytes Raw Blame History
1diff_cmd () {
2 "$merge_tool_path" "$LOCAL" "$REMOTE"
3}
4
5diff_cmd_help () {
6 echo "Use Beyond Compare (requires a graphical session)"
7}
8
9merge_cmd () {
10 if $base_present
11 then
12 "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \
13 -mergeoutput="$MERGED"
14 else
15 "$merge_tool_path" "$LOCAL" "$REMOTE" \
16 -mergeoutput="$MERGED"
17 fi
18}
19
20merge_cmd_help () {
21 echo "Use Beyond Compare (requires a graphical session)"
22}
23
24translate_merge_tool_path() {
25 if type bcomp >/dev/null 2>/dev/null
26 then
27 echo bcomp
28 else
29 echo bcompare
30 fi
31}
32
33list_tool_variants () {
34 echo bc
35 echo bc3
36 echo bc4
37}