1 LU-553 build: improve checks for commit-msg
3 Improve the checks done by the commit-msg script. It now ensures
4 that all the parts of the commit message are present.
5 - validate that the Change-Id: generated from 'git hash-object' is
6 not empty, since this can happen if git is unhappy with the options
7 - check for only one Change-Id: line (multiple Signed-off-by: OK)
8 - describe the "component:" field better, with examples
10 If there was an error committing the message, save a copy to a
11 temporary file, so that it can be edited and re-used, instead of
12 having to recreate it each time, or fetch it from .git/COMMIT_MSG.
14 Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
15 Signed-off-by: Andrew Dillinger <adillinger@wild-west.com>