Because you have the option enabled. See Edit->Preferences->Files->Ensure new line at end of file for the global setting or Project->Project Properties->Files->Ensure new line at file end for the project-specific setting. Note that it's not an "extra" line per se, it's just a newline at the end of the file as is common with *nix/POSIX files and complained about when missing by Git.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.