From: Junio C Hamano <hidden> Date: 2016-06-15 22:48:54
Michael J Gruber [off-list ref] writes:
This puts the "No newline at end of file" warning for both code paths
This is not a warning.
It is an integral part of the diff output specification that allows patch
recipients to correctly reproduce incomplete lines. Removing this from
the output is simply out of question.