Understand how mergetool works