New comment by 0x5c on void-packages repository https://github.com/void-linux/void-packages/pull/42868#issuecomment-1475403065 Comment: Void-packages is not a good test case for these bugs. Git diff seems to always use the exact string `\ No newline at end of file` regardless of the locale (unlike `diff -u`), hiding the first bug. Then since the repo doesn't contain many files that lack a newline at the end, it's easy to miss the second bug.