How to solve the problem that KDiff adds extra blank lines when resolving merge conflicts? Changing the end line and encoding in the settings to any others does not help.
If before running git mergetool we have:
line1 line2 line3 then after starting and resolving the conflict:
line1 line2 line3