- Will this make the files smaller when compressed? Doubtful.
- Will this commit make the repo larger? Yes, since the old is kept.
- But keeping the files in line with current encoding will allow me
to see changes in encoding, using --recode-samples.
- I'm excluding files not saved with the app:
generated files (4x4_font_template.ans and gradient_test.ans)
which will be recreated in their original form when regenerating,
and a manually created empty file (0x0.ans), which tests the minumum
document size of 1x1.
I used:
cd samples && sed -i 's/$/\r/' *
A git diff across branches suggests that this command gives the same results:
src/textual_paint/paint.py --recode-samples
And --recode-samples is now idempotent, for the current set of sample files.