From 7e4bf67e6a51c7200407017c69b4a67687fe609e Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Thu, 13 Oct 2011 12:54:35 +0100 Subject: [PATCH] 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 Signed-off-by: Pat Thoyts --- mergetools/bc3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mergetools/bc3 b/mergetools/bc3 index 27b3dd48b8..b642bf25dc 100644 --- a/mergetools/bc3 +++ b/mergetools/bc3 @@ -16,5 +16,12 @@ merge_cmd () { } translate_merge_tool_path() { - echo bcompare + case $(uname -s) in + *MINGW*) + echo bcomp + ;; + *) + echo bcompare + ;; + esac }