util/gitconfig: Make checkpatch non fatal in pre-commit hook
commit4a6477ed645ce369e4a7fb2728c82fb7d3e5f985
authorMartin Roth <martin@coreboot.org>
Wed, 18 Jul 2018 15:40:29 +0000 (18 09:40 -0600)
committerMartin Roth <martinroth@google.com>
Thu, 19 Jul 2018 17:46:49 +0000 (19 17:46 +0000)
tree8b9d00d76bd91c3f476370c8a847dd2779beae3d
parent31fb846c59be4b24fe621b67012e57de90c75ad5
util/gitconfig: Make checkpatch non fatal in pre-commit hook

We don't block commits for failing checkpatch in gerrit, and we
shouldn't block them here.  This allows checkpatch to still run, so
users can see the issues, but won't prevent the commit.

Adds a delay if checkpatch fails so that the issues can be seen.

Change-Id: Ibd4e8bb74e0b02825dcdf16e233a061c4bb43f50
Signed-off-by: Martin Roth <martin@coreboot.org>
Reviewed-on: https://review.coreboot.org/27534
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
util/gitconfig/pre-commit