You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this hook my commit message content which is provided to this hook is in format
commit msg
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Date: Thu Oct 31 15:54:52 2024 +0100
#
# On branch mt/TEST-1234
So it always returns here as pattern (branch name) is in content.
I'm wondering a bit about this change, because the whole content is now checked for pattern. Shouldn't it be only the lines not starting with #?
When using this hook my commit message content which is provided to this hook is in format
So it always returns here as pattern (branch name) is in content.
I'm wondering a bit about this change, because the whole content is now checked for pattern. Shouldn't it be only the lines not starting with
#
?My setup
steps to reproduce:
git version: 2.43.0
OS: Ubuntu 24.04
What am I doing wrong?
The text was updated successfully, but these errors were encountered: