aboutsummaryrefslogtreecommitdiff
path: root/mergetools/diffmerge
blob: f138cb4e731018b40426337eb8062f40512df088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff_cmd () {
	"$merge_tool_path" "$LOCAL" "$REMOTE" >/dev/null 2>&1
}

merge_cmd () {
	if $base_present
	then
		"$merge_tool_path" --merge --result="$MERGED" \
			"$LOCAL" "$BASE" "$REMOTE"
	else
		"$merge_tool_path" --merge \
			--result="$MERGED" "$LOCAL" "$REMOTE"
	fi
}