JG> Regardless, any time a file with no newline at the end has one
JG> added, all nitpicking charges will be dropped. Removing the
JG> ending newline will not be overlooked, however, because things
JG> will be cleaner if all files always have newline at the end.
Agreed. Actually, it is probably best if we try to notice when new
patches don't have a newline to reduce the potential for this.
I don't know about less-sophisticated editors, but in emacs, you can
add this to your .emacs to ensure all files have a final newline:
(setq require-final-newline t)
I thought the default was to either force or ask, but maybe some
people don't have this set in their environment.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com