From f3768a6714e667205d68475df37a889abb59d2d5 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Sat, 26 Feb 2011 11:52:17 +0100 Subject: [PATCH] mergetool--lib: Add Beyond Compare 3 as a tool Signed-off-by: Sebastian Schuberth Signed-off-by: Junio C Hamano --- lib/mergetool.tcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/mergetool.tcl b/lib/mergetool.tcl index 249e0cfa9..3c8e73bce 100644 --- a/lib/mergetool.tcl +++ b/lib/mergetool.tcl @@ -187,6 +187,13 @@ proc merge_resolve_tool2 {} { "$LOCAL" "$REMOTE" "$MERGED"] } } + bc3 { + if {$base_stage ne {}} { + set cmdline [list "$merge_tool_path" "$LOCAL" "$REMOTE" "$BASE" -mergeoutput="$MERGED"] + } else { + set cmdline [list "$merge_tool_path" "$LOCAL" "$REMOTE" -mergeoutput="$MERGED"] + } + } ecmerge { if {$base_stage ne {}} { set cmdline [list "$merge_tool_path" "$BASE" "$LOCAL" "$REMOTE" --default --mode=merge3 --to="$MERGED"] -- 2.26.2