diff options
| author | Léa Gris <lea.gris@noiraude.net> | 2021-04-27 23:13:38 +0200 |
|---|---|---|
| committer | Léa Gris <lea.gris@noiraude.net> | 2021-04-27 23:13:38 +0200 |
| commit | 4c8cf9986d75f91b13281de1d9d476d6dd392d50 (patch) | |
| tree | ebafc61ef295af730ebae81362798d14cb1a8ed9 /.gitignore | |
| parent | 8ab359f64d112e4d82baa74b6f1b4f9a9ba35104 (diff) | |
| download | GT5-Unofficial-4c8cf9986d75f91b13281de1d9d476d6dd392d50.tar.gz GT5-Unofficial-4c8cf9986d75f91b13281de1d9d476d6dd392d50.tar.bz2 GT5-Unofficial-4c8cf9986d75f91b13281de1d9d476d6dd392d50.zip | |
fix(textfiles): add missing neline at end of files
git and diff tools will complain if text file does not end with a newline.
Fixed all text files in the repository with Linux bash shell:
```sh
git ls-files -z |
while IFS= read -rd '' f; do
mime="$(file --brief --mime "$f")";
if [ -z "${mime##text/*}" ]; then
tail -c1 "$f" |
read -r _ || printf '\n' >>"$f";
fi;
done
```
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index c24815789e..3beafd6561 100644 --- a/.gitignore +++ b/.gitignore @@ -94,4 +94,4 @@ libs/ *.jar *.errored /build/ -/run
\ No newline at end of file +/run |
