From 960daf210b0961f1f1706de43b06cefa4a8a616b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Jul 2024 13:35:08 -0400 Subject: [PATCH] run with noMessages This avoids extraneous output from p2phttp, including eg, progress displays when transferring to proxied special remotes. --- Command/P2PHttp.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Command/P2PHttp.hs b/Command/P2PHttp.hs index caa693e139..5608f67bc8 100644 --- a/Command/P2PHttp.hs +++ b/Command/P2PHttp.hs @@ -25,9 +25,10 @@ import qualified Data.Map as M import Data.String cmd :: Command -cmd = withAnnexOptions [jobsOption] $ command "p2phttp" SectionPlumbing - "communicate in P2P protocol over http" - paramNothing (seek <$$> optParser) +cmd = noMessages $ withAnnexOptions [jobsOption] $ + command "p2phttp" SectionPlumbing + "communicate in P2P protocol over http" + paramNothing (seek <$$> optParser) data Options = Options { portOption :: Maybe PortNumber