Commit ab8965e204 for perl

commit ab8965e2043ec1f07aa3ecd1d1ed956f6534bffe
Author: Branislav Zahradník <barney@cpan.org>
Date:   Wed Sep 2 06:14:24 2026 +0200

    [Porting] Utility to check that commit contais only ws changes

    Unlike `git diff`'s option `--ignore-space-change`, which is line oriented,
    this tool also ignores newline changes.

diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 776f57f34d..bf6fcba30a 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -7,3 +7,4 @@
 ^\.agents/
 ^AGENTS\.md$
 ^CLAUDE\.md$
+^Porting/check-ws-only-change
diff --git a/Porting/check-ws-only-change b/Porting/check-ws-only-change
new file mode 100755
index 0000000000..25bfefd79a
--- /dev/null
+++ b/Porting/check-ws-only-change
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Check whether commit (default: HEAD) contains only whitespace changes (including newline changes)
+
+git show \
+    --word-diff=porcelain\
+    --word-diff-regex='[^[:space:]]' \
+    "${1:-HEAD}" \
+|   grep -E '^(\+|-)'