[Lustre-devel] [wc-discuss] Lustre code style Git commit hooks

Bruce Korb bruce_korb at xyratex.com
Tue Nov 15 06:23:31 PST 2011


On 11/15/11 12:55 AM, Andreas Dilger wrote:

>On 2011-11-14, at 11:14 AM, James Simmons wrote:
>This is the error message that you would get if you try to submit an
>incorrect commit.  If people think it would be more useful, the
>prepare-commit-msg hook could go whole-hog and just replace the basic
>commit comment (which basically shows "git status") with a full sample
>commit template that has (commented out) the above template and a
>Signed-off-by: line.

Just a brief synopsis of the "transgression" and a URL to the full
description would be excellent.  (I don't like having to Google an
error message to find the full docs and the full docs in an error
message is overly verbose.)

Thank you!

More information about the lustre-devel mailing list