Browse Source

Fix pre-push-hook regexes

0.13
Matt Corallo 9 years ago
parent
commit
27252b7389
  1. 2
      contrib/verify-commits/pre-push-hook.sh

2
contrib/verify-commits/pre-push-hook.sh

@ -1,5 +1,5 @@ @@ -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