We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a85ff98 + a4cf89c commit 914f206Copy full SHA for 914f206
hook.sh
@@ -238,7 +238,7 @@ validate_commit_message() {
238
# 6. Wrap the body at 72 characters
239
# ------------------------------------------------------------------------------
240
241
- URL_REGEX='^[[:blank:]]*(https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]'
+ URL_REGEX='^[[:blank:]]*(https?|ftp|file|wss?|git|ssh|data|irc|dat)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]'
242
243
for i in "${!COMMIT_MSG_LINES[@]}"; do
244
LINE_NUMBER=$((i+1))
0 commit comments