Browse Source

Fix pre-push-hook regexes

pull/118/head
Matt Corallo 5 years ago
parent
commit
3be7a42fe9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      contrib/verify-commits/pre-push-hook.sh

+ 1
- 1
contrib/verify-commits/pre-push-hook.sh View File

@@ -1,5 +1,5 @@
#!/bin/bash
if ! [[ "$2" =~ [git@]?[www.]?github.com[:|/]bitcoin/bitcoin[.git]? ]]; then
if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then
exit 0
fi


Loading…
Cancel
Save