on master help sign in
attempt to detect ssh private repo via https
commit0588aeae4587173d6e51e9a98d63b5ec9eca1d7b authorElaine Cardenas <elaine.cardenas@obsidian.systems> dateMon 6 Jan 2020, 05:57 (7 years ago) parentcbd6848
1 file changed+6−1
lib/command/src/Obelisk/Command/Thunk.hs+6−1
lib/command/src/Obelisk/Command/Thunk.hs+6−1
@@ -896,7 +896,12 @@ uriToThunkSource (GitUri u)
896896 fmap (\(x, _, _)->x)
897897 . readCreateProcessWithExitCode
898898 . isolateGitProc . gitProcNoRepo $
899− ["ls-remote", "--exit-code", "--symref", show u]
899+ ["ls-remote"
900+ , "--exit-code"
901+ , "--symref"
902+ , show $ u
903+ { URI.uriScheme=URI.mkScheme "https"
904+ , URI.uriAuthority=Left True}]
900905 pure . ThunkSource_GitHub $ GitHubSource
901906 { _gitHubSource_owner = N $ URI.unRText owner
902907 , _gitHubSource_repo = N $ let