on master help sign in
command: Don't test against git protocol when checking if repos are private
commitea76437864cd0a159c5fda6196ea9c7ae77db0f4 authorElliot Cameron <eacameron@gmail.com> dateThu 6 Feb 2020, 15:29 (7 years ago) parent68c7f43
1 file changed+1−1
lib/command/src/Obelisk/Command/Thunk.hs+1−1
lib/command/src/Obelisk/Command/Thunk.hs+1−1
@@ -937,7 +937,7 @@ guessGitRepoIsPrivate uri = flip fix urisToTry $ \loop -> \case
937937 urisToTry = nubOrd $
938938 -- Include the original URI if it isn't using SSH because SSH will certainly fail.
939939 [uri | fmap URI.unRText (URI.uriScheme (unGitUri uri)) /= Just "ssh"] <>
940− [changeScheme "https" uri, changeScheme "http" uri, changeScheme "git" uri]
940+ [changeScheme "https" uri, changeScheme "http" uri]
941941 changeScheme scheme (GitUri u) = GitUri $ u
942942 { URI.uriScheme = URI.mkScheme scheme
943943 , URI.uriAuthority = (\x -> x { URI.authUserInfo = Nothing }) <$> URI.uriAuthority u