Closed radomirbosak closed 2 years ago
\ No newline at end of file is inserted when the file does not contain LF at EOF. Ignore the message to count line numbers correctly.
\ No newline at end of file
This is a commit I found in @soutaro's branch fix-no-newline-at-eof, but I think it would be useful to have this patch merged in upstream too.
Tested with bin/console on a small sample diff file.
bin/console
Fixes #335
@radomirbosak @soutaro shipped it! https://rubygems.org/gems/git_diff_parser/versions/4.0.0 thanks :heart_eyes:
Thank you for the quick reply and release @sanemat :smile: You are the best!
\ No newline at end of file
is inserted when the file does not contain LF at EOF. Ignore the message to count line numbers correctly.This is a commit I found in @soutaro's branch fix-no-newline-at-eof, but I think it would be useful to have this patch merged in upstream too.
Tested with
bin/console
on a small sample diff file.Fixes #335