mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[task/git-tools] Adjust the hook to enforce that a ticket is always mentioned
PHPBB3-9768
This commit is contained in:
parent
db13dc2d43
commit
a9046e5608
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue