Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html