Whamcloud - gitweb
LU-1595 build: add 70-column commit comment wrap
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 20 Jun 2012 18:59:47 +0000 (12:59 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 11 Jul 2012 23:48:34 +0000 (19:48 -0400)
commitbeceef1754ef91ccc3a65c25f6f47a5715e9ad1e
tree1b4e1265fc5b0bfa701891b0e893a680ff7dcbea
parent6afc34e4beeddca01256ac63a687892aaf185ff4
LU-1595 build: add 70-column commit comment wrap

Add a Vim modeline "textwidth=70" to force commit comments to wrap
at 70 characters, to match standard Git commit style guidelines.

Reduce the commit summary length to 62 characters, which is the
maximum that can fit after "Subject: [PATCH] " when formatting a
patch for email.  This is still above the recommended 50 character
summary limit, but with the leading ticket number and component,
there wouldn't be very much room left for a meaningful comment.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I04f8e0278a18a869b78acbf9dd1b55adf354500c
Reviewed-on: http://review.whamcloud.com/3284
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Reviewed-by: Bruce Korb <bruce_korb@xyratex.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
build/commit-msg
build/prepare-commit-msg