ensure .gitignore ends in a newline