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

Tree @0.6.0 (Download .tar.gz)

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

#!/bin/bash -e
git init

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

echo 1 > test
echo 2 >> test
git add test
git commit -m new