Merge branch 'bw/amend-checkbutton'
[gitweb.git] / lib / mergetool.tcl
index 249e0cfa93939d2b389a944f36ff8fa31ef083f5..120bc4064b6f88023fb067a7aedaa67e13802f2c 100644 (file)
@@ -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"]