From 033fb28fdc3bc707eee04fab99808612e7db46ca Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 4 Oct 2025 13:36:27 +0200 Subject: [PATCH] [ticket/15085] Improve commit message check hook output PHPBB-15085 --- git-tools/hooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-tools/hooks/commit-msg b/git-tools/hooks/commit-msg index 6405d5b7c8..95b8e313ed 100755 --- a/git-tools/hooks/commit-msg +++ b/git-tools/hooks/commit-msg @@ -337,7 +337,7 @@ done # If EOF is expected exit cleanly echo "$expecting" | grep -q "eof" || ( # Unexpected EOF, error - complain "Unexpected EOF encountered" >&2; + complain "Expected to see footer (e.g. PHPBB-12345) or description line, but reached end of file." >&2; quit $ERR_EOF; ) && ( # Do post scan checks