--debug output goes to stderr again, not stdout

Reversion in version 8.20210428

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2021-07-12 09:40:38 -04:00
parent 3586ee275f
commit b885007f0e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 5 additions and 1 deletions

View file

@ -270,7 +270,7 @@ debugDisplayer = do
-- that are displayed at the same time from mixing together.
lock <- newMVar ()
return $ \s -> withMVar lock $ \() -> do
S.putStr (s <> "\n")
S.hPutStr stderr (s <> "\n")
hFlush stderr
{- Should commands that normally output progress messages have that