Skip to content

Commit 7e4bf67

Browse files
committed
mergetools: use the correct tool for Beyond Compare 3 on Windows
On Windows the bcompare tool launches a graphical program and does not wait for it to terminate. A separate 'bcomp' tool is provided which will wait for the view to exit so we use this instead. Reported-by: Werner BEROUX <[email protected]> Signed-off-by: Pat Thoyts <[email protected]>
1 parent 2a9f868 commit 7e4bf67

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

mergetools/bc3

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@ merge_cmd () {
1616
}
1717

1818
translate_merge_tool_path() {
19-
echo bcompare
19+
case $(uname -s) in
20+
*MINGW*)
21+
echo bcomp
22+
;;
23+
*)
24+
echo bcompare
25+
;;
26+
esac
2027
}

0 commit comments

Comments
 (0)