aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md2
-rwxr-xr-xscripts/check_commit_message_format.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 320dd0dd5..bca881c7e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -77,7 +77,7 @@ a good reason is "This violates the style guide, but it improves type safety."
> $ git commit
* **Commit Messages**
- * Limit the subject line to 50 characters -- this allows the information to display correctly in git/Github logs
+ * Limit the subject line to 64 characters -- this allows the information to display correctly in git/GitHub logs
* Begin subject line with a one-word component description followed by a colon (e.g. build, docs, layers, tests, etc.)
* Separate subject from body with a blank line
* Wrap the body at 72 characters
diff --git a/scripts/check_commit_message_format.sh b/scripts/check_commit_message_format.sh
index 8bc83830a..4eb5de8b7 100755
--- a/scripts/check_commit_message_format.sh
+++ b/scripts/check_commit_message_format.sh
@@ -55,9 +55,9 @@ printf %s "$COMMIT_TEXT" | while IFS='' read -r line; do
fi
chars=${#line}
if [ $current_line -eq 1 ]; then
- # Subject line should be 50 chars or less (but give some slack here)
- if [ $chars -gt 54 ]; then
- echo "The following subject line exceeds 50 characters in length."
+ # Subject line should be 64 chars or less
+ if [ $chars -gt 64 ]; then
+ echo "The following subject line exceeds 64 characters in length."
echo " '$line'"
success=0
fi