Browse Source

Update .githooks/commit-msg

Co-authored-by: Jean Pierre Dudey <jeandudey@hotmail.com>
PASS1-125
Ken Carpenter 4 years ago
committed by GitHub
parent
commit
03546148db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .githooks/commit-msg

2
.githooks/commit-msg

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
TEAM_PREFIX='PASS1' TEAM_PREFIX='PASS1'
commit_regex="($TEAM_PREFIX-[0-9]+:\ )" commit_regex="^($TEAM_PREFIX-[0-9]+:\ )"
if ! `grep -iqE "$commit_regex" "$1"`; then if ! `grep -iqE "$commit_regex" "$1"`; then
echo "=========================================================================================" >&2 echo "=========================================================================================" >&2

Loading…
Cancel
Save