gitlabhq/gitlabhq — pull request #7170 by cirosantilli (2014-06-21 09:27:40+00:00)
Title: [minor-refactor] Add trailing newline to all text files.

Present in the large majority of files of each respective type.

The only filetype for which we could be not sure is the `.txt` because there is only one other, but let's follow the other files and do it.

Bit me when doing `perl -lpi -e`, needed to change to `perl -pi -e`.

Refactoring command used:

git grep -Ile '' | grep -Ev '^vendor' | xargs perl -lapi -e 's/.*/$&/'

`-Ile ''` to ignore binary files: http://stackoverflow.com/questions/18973057/list-all-text-non-binary-files-in-repo