aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-tools/hooks/commit-msg4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-tools/hooks/commit-msg b/git-tools/hooks/commit-msg
index 894e67aa09..b04a761c29 100755
--- a/git-tools/hooks/commit-msg
+++ b/git-tools/hooks/commit-msg
@@ -157,7 +157,7 @@ do
# Successful match, but on which line format
case $expect in
"header")
- expecting="empty eof";
+ expecting="empty";
echo "$line" | grep -Eq "^\[ticket/[0-9]+\]$" && (
ticket=$(echo "$line" | sed 's,\[ticket/\([0-9]*\)\].*,\1,');
@@ -174,7 +174,7 @@ do
fi
;;
"description")
- expecting="description empty eof";
+ expecting="description empty";
in_description=1;
;;
"footer")