Pasting into the "Reject" dialog editor changes the EOL characters
Created originally on Bitbucket by AngelEzquerra (Angel Ezquerra)
If you paste something into the editor on the "Merge rejected patch chunks" dialog, the line endings are changed into the locale line endings (i.e. CRLF on Windows, even if you paste something whose line endings are LF).
This is particularly annoying when working with projects, such as thg, where all files are using UNIX style line endings.