avoid partial functions in Git.Url
authorJoey Hess <joeyh@joeyh.name>
Mon, 18 Jan 2021 19:07:23 +0000 (15:07 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 18 Jan 2021 19:07:23 +0000 (15:07 -0400)
commite7134ca1ebf084aaa9a07831c5710a8bde0da790
tree707a2a69829fd15d06dfa20be3ac3bcd7cf49c5c
parent2aa4fab62a69bb3fb5073d571d8ec110a61a144e
avoid partial functions in Git.Url

After the last commit, it was able to throw errors just due to an
unparseable url. This avoids needing to worry about that, as long
as the call site has already checked that it has a parseable url.
Git/Construct.hs
Git/Url.hs
Remote/GitLFS.hs