Closed mantoni closed 7 years ago
Looks fine to me. I'm having a problem where the editor
package is immediately returning instead of waiting for the file to be closed, but I'll dig into that separately.
(just verified that editor thing is 100% unrelated, totally a local config issue! 👍 )
I read about git log a bit more and it seems to always print out LF only, regardless of settings.
Released in v1.0.5
. Please update.
If the
CHANGES.md
file is checked out on Windows with CRLF, the header detection and the check for an already existing version fail.With this fix, the checks are made with regular expressions to support CRLF and LF. The initial check for the header is also used to detect which newline style is used.
There are two open points:
git log
print out CRLFs on Windows?@tivac Can you check?
Fixes #1