Whamcloud - gitweb
LU-15511 misc: allow Lustre-change and Lustre-commit
[fs/lustre-release.git] / contrib / git-hooks / tests / commit.bad_commit
1 LU-15511 misc: allow Lustre-change and Lustre-commit
2
3 Allow the Lustre-change:, Lustre-commit:, Linux-commit: labels in
4 the signoff section.  Verify that Lustre-change: has a valid-looking
5 Gerrit URL in "permalink" format "https://review.whamcloud.com/nnnnn".
6 Verify -commit: labels have a valid-looking Git hashes (40 hex chars),
7 though the actual hash cannot be verified because it may be from a
8 different Git repository.
9
10 Shorten the help message in case of error, and add "commit-msg --help"
11 to print the full commit format help.
12
13 Lustre-change: https://review.whamcloud.com/46420
14 Lustre-commit: 4de05884f2OO89c23556f860381fl7203578220e
15
16 Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
17 Change-Id: I866ab91b33f6e52ff893344df74af243903ebbe5