You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by me...@apache.org on 2016/01/13 00:01:15 UTC

mesos git commit: Modified commit msg hook to include newline character.

Repository: mesos
Updated Branches:
  refs/heads/master ef969dc5f -> ee91ead93


Modified commit msg hook to include newline character.

Trivial change to include the newline character. There might be other
fancy ways to fix this. But, my `bash` skills are pretty limited and I
took the most naive route.

Review: https://reviews.apache.org/r/42217/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ee91ead9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ee91ead9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ee91ead9

Branch: refs/heads/master
Commit: ee91ead93c174970705ef8257ffc53f069757594
Parents: ef969dc
Author: Anand Mazumdar <ma...@gmail.com>
Authored: Tue Jan 12 14:59:39 2016 -0800
Committer: Adam B <ad...@mesosphere.io>
Committed: Tue Jan 12 14:59:39 2016 -0800

----------------------------------------------------------------------
 support/hooks/commit-msg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ee91ead9/support/hooks/commit-msg
----------------------------------------------------------------------
diff --git a/support/hooks/commit-msg b/support/hooks/commit-msg
index 5845398..d173dfd 100755
--- a/support/hooks/commit-msg
+++ b/support/hooks/commit-msg
@@ -20,7 +20,7 @@ if [[ ! "$FIRST_CHAR" =~ [A-Z] ]]; then
 fi
 
 LENGTH=$(echo $FIRST_LINE | wc -c)
-if [ "$LENGTH" -gt "72" ]; then
+if [ "$LENGTH" -gt "73" ]; then
     echo >&2 "Error: Commit message summary (the first line) must not exceed 72 characters."
     exit 1
 fi