Add TODO for extracting the domain from HTTPS URLs
This commit is contained in:
parent
0227ad945b
commit
bbfdb0362d
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Extract the remote domain (e.g. github.com) from the repo URL.
|
# Extract the remote domain (e.g. github.com) from the repo URL.
|
||||||
|
# TODO: make it work with HTTPS URLs.
|
||||||
|
# Cloning https://github.com/opdavies/oliverdavies.uk.git returns "https" as the domain.
|
||||||
domain="''${repo_url#*@}"
|
domain="''${repo_url#*@}"
|
||||||
domain="''${domain%:*}"
|
domain="''${domain%:*}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue