https://github.com/git/git
Raw File
Tip revision: 8f9aeb0d36c6cbfb849946bb272fa0d3c4611547 authored by Junio C Hamano on 24 March 2017, 19:59:15 UTC
Git 2.12.2
Tip revision: 8f9aeb0
bc
diff_cmd () {
	"$merge_tool_path" "$LOCAL" "$REMOTE"
}

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

translate_merge_tool_path() {
	if type bcomp >/dev/null 2>/dev/null
	then
		echo bcomp
	else
		echo bcompare
	fi
}
back to top