File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1204,7 +1204,7 @@ _git_diff ()
12041204}
12051205
12061206__git_mergetools_common=" diffuse diffmerge ecmerge emerge kdiff3 meld opendiff
1207- tkdiff vimdiff gvimdiff xxdiff araxis p4merge bc3 codecompare
1207+ tkdiff vimdiff gvimdiff xxdiff araxis p4merge bc codecompare
12081208"
12091209
12101210_git_difftool ()
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ list_merge_tool_candidates () {
250250 tools=" opendiff kdiff3 tkdiff xxdiff meld $tools "
251251 fi
252252 tools=" $tools gvimdiff diffuse diffmerge ecmerge"
253- tools=" $tools p4merge araxis bc3 codecompare"
253+ tools=" $tools p4merge araxis bc codecompare"
254254 fi
255255 case " ${VISUAL:- $EDITOR } " in
256256 * vim* )
Original file line number Diff line number Diff line change 1+ diff_cmd () {
2+ "$merge_tool_path" "$LOCAL" "$REMOTE"
3+ }
4+
5+ merge_cmd () {
6+ touch "$BACKUP"
7+ if $base_present
8+ then
9+ "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \
10+ -mergeoutput="$MERGED"
11+ else
12+ "$merge_tool_path" "$LOCAL" "$REMOTE" \
13+ -mergeoutput="$MERGED"
14+ fi
15+ check_unchanged
16+ }
17+
18+ translate_merge_tool_path() {
19+ if type bcomp >/dev/null 2>/dev/null
20+ then
21+ echo bcomp
22+ else
23+ echo bcompare
24+ fi
25+ }
Original file line number Diff line number Diff line change 1- diff_cmd () {
2- "$merge_tool_path" "$LOCAL" "$REMOTE"
3- }
4-
5- merge_cmd () {
6- touch "$BACKUP"
7- if $base_present
8- then
9- "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \
10- -mergeoutput="$MERGED"
11- else
12- "$merge_tool_path" "$LOCAL" "$REMOTE" \
13- -mergeoutput="$MERGED"
14- fi
15- check_unchanged
16- }
17-
18- translate_merge_tool_path() {
19- if type bcomp >/dev/null 2>/dev/null
20- then
21- echo bcomp
22- else
23- echo bcompare
24- fi
25- }
1+ . "$MERGE_TOOLS_DIR/bc"
You can’t perform that action at this time.
0 commit comments