Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions check_message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

set -eu

OPTIONS=$(getopt --longoptions no-jira,allow-temp,jira-in-header,header-length:,body-length:,jira-types: --options "" -- "$@")
unset COMMIT_VALIDATOR_ALLOW_TEMP COMMIT_VALIDATOR_NO_JIRA COMMIT_VALIDATOR_NO_REVERT_SHA1 GLOBAL_JIRA_IN_HEADER GLOBAL_MAX_LENGTH GLOBAL_BODY_MAX_LENGTH GLOBAL_JIRA_TYPES

eval set -- $OPTIONS
while true; do
while [[ $# -gt 0 ]]; do
case "$1" in
--no-jira ) COMMIT_VALIDATOR_NO_JIRA=1; shift ;;
--allow-temp ) COMMIT_VALIDATOR_ALLOW_TEMP=1; shift ;;
Expand Down
Loading