From fe5858902ed412946858b3f3358c3ac7a9163b49 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Fri, 21 Feb 2014 00:52:01 +0100 Subject: [PATCH] [ticket/11509] Output which commit is being inspected. PHPBB3-11509 --- git-tools/commit-msg-hook-range.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-tools/commit-msg-hook-range.sh b/git-tools/commit-msg-hook-range.sh index 3d0f22ac53..a0d165b726 100755 --- a/git-tools/commit-msg-hook-range.sh +++ b/git-tools/commit-msg-hook-range.sh @@ -20,6 +20,8 @@ COMMIT_RANGE="$1" for COMMIT_HASH in $(git rev-list --no-merges "$COMMIT_RANGE") do + echo "Inspecting commit message of commit $COMMIT_HASH" + # The git commit-msg hook takes a path to a file containing a commit # message. So we have to extract the commit message into a file first, # which then also needs to be deleted after our work is done.