git @ Cat's Eye Technologies klaus / 0.9.0 tests / repos / scripts / no-newline-at-end-of-file
0.9.0

Tree @0.9.0 (Download .tar.gz)

no-newline-at-end-of-file @0.9.0raw · history · blame

#!/bin/bash -e
git init

echo 1 > test
echo -n 2 >> test
git add test
git commit --no-gpg-sign -m old

echo 1 > test
echo 2 >> test
git add test
git commit --no-gpg-sign -m new