Bug in default commit hook (improperly forbidding a single blank line at EOF)
- From
- Raymond Jennings <shentino@gmail.com>
- Date
- Sep 8, 2015, 01:37 UTC
- Message-ID
- <55EE3BD9.7020707@gmail.com>
Please see https://bugs.gentoo.org/show_bug.cgi?id=559920 for further details.
Files *should* have a single blank line at the end, because a line should always have a newline at the end.
Adding a newline to the end of a file whose last line doesn't have one should be legal...as long as you don't create empty lines at the end.