haskell/cabal — pull request #1231 by kowey (2013-03-05 20:53:27+00:00)
Title: suppress annoying missing haddock warning for whitelist (rts)

See https://plus.google.com/114991347543804898741/posts/9FbAWEuTFXN

Note: there seems to be a very similar chunk of code in cabal-install Distribution.Client.Haddock. Sounds like there's a refactor wanting to happen there? Not sure what the background is though.