aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-16 15:28:26 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-16 15:28:26 +0200
commit0b106ab0e3f9fe94e42a55db27d1d989c06b5039 (patch)
treeba60a0a6a76c19dff078f0107b7ef3a7a2b3d554 /git-tools
parent9531691537734fbde3651a3c8b1435eaadec597e (diff)
parentd2aee6d2ea9668d553b05968db3f2f8335409fca (diff)
downloadforums-0b106ab0e3f9fe94e42a55db27d1d989c06b5039.tar
forums-0b106ab0e3f9fe94e42a55db27d1d989c06b5039.tar.gz
forums-0b106ab0e3f9fe94e42a55db27d1d989c06b5039.tar.bz2
forums-0b106ab0e3f9fe94e42a55db27d1d989c06b5039.tar.xz
forums-0b106ab0e3f9fe94e42a55db27d1d989c06b5039.zip
Merge branch 'develop-olympus' into develop-ascraeus
* develop-olympus: [ticket/12720] Allow commit heading to begin with lowercase letters
Diffstat (limited to 'git-tools')
-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 b156d276df..136606252c 100755
--- a/git-tools/hooks/commit-msg
+++ b/git-tools/hooks/commit-msg
@@ -191,12 +191,12 @@ do
err=$ERR_HEADER;
echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] .+$"
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
# Don't be too strict.
# Commits may be temporary, intended to be squashed later.
# 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 "$line" 1>&2
fi