--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:
parent
3586ee275f
commit
b885007f0e
3 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,8 @@ git-annex (8.20210631) UNRELEASED; urgency=medium
|
|||
* assistant: Avoid unncessary git repository repair in a situation where
|
||||
git fsck gets confused about a commit that is made while it's running.
|
||||
* addurl: Avoid crashing when used on beegfs.
|
||||
* --debug output goes to stderr again, not stdout.
|
||||
(Reversion in version 8.20210428)
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Wed, 30 Jun 2021 17:55:10 -0400
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -64,3 +64,5 @@ $> git annex --debug wanted magical
|
|||
|
||||
[[!meta author=yoh]]
|
||||
[[!tag projects/datalad]]
|
||||
|
||||
> All commands did. [[fixed|done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Reference in a new issue