diff options
| author | Matt Corallo <[email protected]> | 2015-10-22 19:50:01 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-10-22 19:50:01 -0700 |
| commit | 27252b73894d00f9dbe27b664159b2a999683069 (patch) | |
| tree | ae6de034486e9a3b01c058a998b56474238c3752 | |
| parent | Merge pull request #6848 (diff) | |
| download | discoin-27252b73894d00f9dbe27b664159b2a999683069.tar.xz discoin-27252b73894d00f9dbe27b664159b2a999683069.zip | |
Fix pre-push-hook regexes
| -rwxr-xr-x | contrib/verify-commits/pre-push-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/verify-commits/pre-push-hook.sh b/contrib/verify-commits/pre-push-hook.sh index 607c0cac4..c57222818 100755 --- a/contrib/verify-commits/pre-push-hook.sh +++ b/contrib/verify-commits/pre-push-hook.sh @@ -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 |