diff options
Diffstat (limited to 'Biz/Ide/hooks/commit-msg')
-rwxr-xr-x | Biz/Ide/hooks/commit-msg | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Biz/Ide/hooks/commit-msg b/Biz/Ide/hooks/commit-msg deleted file mode 100755 index e07d1f4..0000000 --- a/Biz/Ide/hooks/commit-msg +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -if ! gitlint --ignore-stdin --staged --msg-filename "$1" run-hook; then - backup="$CODEROOT"/.git/COMMIT_EDITMSG.backup - cp "$CODEROOT"/.git/COMMIT_EDITMSG "$backup" - echo "error: gitlint failed, saved your commit msg as $backup" - exit 1 -fi |