mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 12:34:59 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12720] Allow commit heading to begin with lowercase letters
This commit is contained in:
commit
58fd91dde1
@ -191,12 +191,12 @@ do
|
|||||||
err=$ERR_HEADER;
|
err=$ERR_HEADER;
|
||||||
echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] .+$"
|
echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] .+$"
|
||||||
result=$?
|
result=$?
|
||||||
if ! echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] [A-Z].+$"
|
if ! echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] [a-zA-Z].+$"
|
||||||
then
|
then
|
||||||
# Don't be too strict.
|
# Don't be too strict.
|
||||||
# Commits may be temporary, intended to be squashed later.
|
# Commits may be temporary, intended to be squashed later.
|
||||||
# Just issue a warning here.
|
# Just issue a warning here.
|
||||||
complain "$severity: heading should be a sentence beginning with a capital letter." 1>&2
|
complain "$severity: heading should be a sentence beginning with a letter." 1>&2
|
||||||
complain "You entered:" 1>&2
|
complain "You entered:" 1>&2
|
||||||
complain "$line" 1>&2
|
complain "$line" 1>&2
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user