Add newline adding cleanup script

This commit is contained in:
2026-05-24 14:50:23 +01:00
parent ff0ad096bb
commit 817abfe400
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
while IFS= read -r -d '' f; do
[ -f "$f" ] || continue
[ -s "$f" ] || continue
if [ "$(tail -c1 "$f")" != "" ]; then
printf '\n' >> "$f"
fi
done < <(git ls-files -z)