]> dgit.raspbian.org Git - git-annex.git/commitdiff
--debug output goes to stderr again, not stdout
authorJoey Hess <joeyh@joeyh.name>
Mon, 12 Jul 2021 13:40:38 +0000 (09:40 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 12 Jul 2021 13:40:38 +0000 (09:40 -0400)
Reversion in version 8.20210428

Sponsored-by: Dartmouth College's Datalad project
CHANGELOG
Messages.hs
doc/bugs/wanted_started_to_dump_debug_output_to_stdout_.mdwn

index d22551c57916677d741153c05041f8cf9a0789de..749928397c03736b2fc02ca27a479d53b00e9fb3 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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
 
index 7fcee2806734d36dd8958ddbdd872f5fb6c4c72e..c85e87eb4734b2ec6d5aa9f1db79f0dbe81a6aae 100644 (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
index 8eb54e4b2aaf835f524c412459f207edb28cc500..a078f58095a44556fccaec580643aeccbbec4007 100644 (file)
@@ -64,3 +64,5 @@ $> git annex --debug wanted magical
 
 [[!meta author=yoh]]
 [[!tag projects/datalad]]
+
+> All commands did. [[fixed|done]] --[[Joey]]