Closed zmughal closed 2 years ago
By the way, some files have DOS/CRLF line endings:
$ find -type f -exec dos2unix -ic {} \;
./.github/workflows/linux.yml
./.tidyallrc
./.perltidyrc
To check that all changes under lib/
and t/
are due to whitespace, you can run:
git diff -U0 --word-diff --word-diff-regex=. origin/main.. -- lib t ':!lib/Catmandu/Introduction.pod' \
| perl -lpe 's,\Q{+\E\s*\Q+}\E|\Q[-\E\s*\Q-]\E,,g' \
| grep -P -e '\Q[-\E[^\]]+\Q-]\E|\Q{+\E[^}]+\Q+}\E'
@zmughal thanks a lot for this!
Connects with https://github.com/LibreCat/Catmandu/issues/385.