]> git.baikalelectronics.ru Git - arm-tf.git/commit
build(hooks): allow hooks to skip Commitizen
authorChris Kay <chris.kay@arm.com>
Tue, 18 Apr 2023 16:32:41 +0000 (17:32 +0100)
committerChris Kay <chris.kay@arm.com>
Tue, 18 Apr 2023 16:38:20 +0000 (17:38 +0100)
commit9a905a7d86867bab8a5d9befd40a67a6ab9aaea2
tree8822602292ed91ea888f8e8688254cf006e8a92c
parent0223d15764ed78319c0eac00c641c6148898a395
build(hooks): allow hooks to skip Commitizen

Adds a conditional check in the `prepare-commit-msg` commit hook that
reads the `tf-a.disableCommitizen` Git configuration option, and
does not execute Commitizen if it is found.

To skip Commitizen, run:

    git config tf-a.disableCommitizen true

Change-Id: Ic8967f6f42bf3555df09b57096044fb99438d4d4
Signed-off-by: Chris Kay <chris.kay@arm.com>
.husky/prepare-commit-msg