title: git: new blank line at EOF
body: <p>So I run <code>git diff --check</code> before <code>add</code>-ing files and <code>commit</code>-ing them, and on two specific files I get <code>path/filename:linenumber: new blank line at EOF</code>. If I delete the last empty line in those files, I don't get any messages, but I think it is good style to end my files with a newline. Strangely enough, the other files which I think have exactly the same endings, don't give any messages. I am new to git, using git 2.0.1 on OS X Yosemite. I use vim as my editor.</p>
  
  <p>How can I have my files end with newline while avoiding this message? Should I ignore it?</p>