Can you make sure the file ends with a single newline?  It makes the diff output prettier since git then doesn't have to constantly include stuff like `\ No newline at end of file`.