Skip to content

Commit

Permalink
Merge pull request haskell#3172 from 23Skidoo/config-repo-comment
Browse files Browse the repository at this point in the history
Make secure remote repos a bit more discoverable.
  • Loading branch information
23Skidoo committed Feb 20, 2016
2 parents 26a43f4 + f93c930 commit 7781178
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cabal-install/Distribution/Client/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,9 @@ installDirsFields = map viewAsFieldDescr installDirsOptions

ppRemoteRepoSection :: RemoteRepo -> Doc
ppRemoteRepoSection vals = ppSection "repository" (remoteRepoName vals)
remoteRepoFields Nothing vals
remoteRepoFields def vals
where
def = Just (emptyRemoteRepo "ignored") { remoteRepoSecure = Just False }

remoteRepoFields :: [FieldDescr RemoteRepo]
remoteRepoFields =
Expand Down

0 comments on commit 7781178

Please sign in to comment.