mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-08 09:21:08 +01:00
hooks(pre-push): do not require .git when matching enterprise origin URLs
Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
parent
2164f0968d
commit
eb7797ca36
@ -60,7 +60,7 @@ fail() {
|
||||
# that of hashicorp/vault-enterprise, otherwise it returns 1.
|
||||
remote_url_is_enterprise() {
|
||||
case "$1" in
|
||||
git@github.com:hashicorp/vault-enterprise.git | https://github.com/hashicorp/vault-enterprise.git)
|
||||
git@github.com:hashicorp/vault-enterprise* | https://github.com/hashicorp/vault-enterprise*)
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user