Merge pull request #3299 from ethomson/xdiff_update Don't add unnecessary trailing newline during file merge