File tree Expand file tree Collapse file tree 4 files changed +28
-27
lines changed Expand file tree Collapse file tree 4 files changed +28
-27
lines changed Original file line number Diff line number Diff line change @@ -1204,7 +1204,7 @@ _git_diff ()
1204
1204
}
1205
1205
1206
1206
__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
1208
1208
"
1209
1209
1210
1210
_git_difftool ()
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ list_merge_tool_candidates () {
250
250
tools=" opendiff kdiff3 tkdiff xxdiff meld $tools "
251
251
fi
252
252
tools=" $tools gvimdiff diffuse diffmerge ecmerge"
253
- tools=" $tools p4merge araxis bc3 codecompare"
253
+ tools=" $tools p4merge araxis bc codecompare"
254
254
fi
255
255
case " ${VISUAL:- $EDITOR } " in
256
256
* 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