Whamcloud - gitweb
LU-15617 contrib: Add shellcheck to prepare-commit-msg 05/46705/6
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Fri, 4 Mar 2022 06:41:06 +0000 (12:11 +0530)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:40:51 +0000 (05:40 +0000)
commit57abd991ade9a381ac3ec94ca1d02993378c8e7c
tree247b7f3658c2cd581e1cc4d23786e3ae6510d392
parent812df05892d39ba2487d5de15bf66878be4590ae
LU-15617 contrib: Add shellcheck to prepare-commit-msg

Add shellcheck verifiction to prepare-commit-msg.
SHELLCHECK_OPT export can be used to further add
option if the user wants. 'shellcheck' by deault
is set to 'yes' (SHELLCHECK_RUN="yes"). However,
it can be switched off by setting SHELLCHECK_RUN=
Tested on shellcheck version 0.8.0

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Id0603b26202b92f68d43b82a3b2d846dd634c20e
Reviewed-on: https://review.whamcloud.com/46705
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
contrib/git-hooks/prepare-commit-msg