-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Beyond Compare version 4 works the same way as version 3, so rename the existing "bc3" adaptor to just "bc", while keeping "bc3" as a backward compatible wrapper. Noticed-by: Olivier Croquette <ocroquette@free.fr> Helped-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information
Junio C Hamano
committed
Oct 21, 2014
1 parent
3c2dc76
commit f13f9b0
Showing
4 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff_cmd () { | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" | ||
} | ||
|
||
merge_cmd () { | ||
touch "$BACKUP" | ||
if $base_present | ||
then | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \ | ||
-mergeoutput="$MERGED" | ||
else | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" \ | ||
-mergeoutput="$MERGED" | ||
fi | ||
check_unchanged | ||
} | ||
|
||
translate_merge_tool_path() { | ||
if type bcomp >/dev/null 2>/dev/null | ||
then | ||
echo bcomp | ||
else | ||
echo bcompare | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1 @@ | ||
diff_cmd () { | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" | ||
} | ||
|
||
merge_cmd () { | ||
touch "$BACKUP" | ||
if $base_present | ||
then | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" \ | ||
-mergeoutput="$MERGED" | ||
else | ||
"$merge_tool_path" "$LOCAL" "$REMOTE" \ | ||
-mergeoutput="$MERGED" | ||
fi | ||
check_unchanged | ||
} | ||
|
||
translate_merge_tool_path() { | ||
if type bcomp >/dev/null 2>/dev/null | ||
then | ||
echo bcomp | ||
else | ||
echo bcompare | ||
fi | ||
} | ||
. "$MERGE_TOOLS_DIR/bc" |