rather than needing to be advanced each time a new change is made.
* Misuse of GIT_ANNEX_VECTOR_CLOCK will no longer confuse git-annex.
* add: When adding a dotfile, avoid treating its name as an extension.
+ * rsync special remote: Stop displaying rsync progress, and use
+ git-annex's own progress display.
-- Joey Hess <id@joeyh.name> Tue, 03 Aug 2021 12:22:45 -0400
fromMaybe (giveup "missing rsyncurl") $ remoteAnnexRsyncUrl gc
let o = genRsyncOpts c gc transport url
let islocal = rsyncUrlIsPath $ rsyncUrl o
- let specialcfg = (specialRemoteCfg c)
- -- Rsync displays its own progress.
- { displayProgress = False }
- return $ Just $ specialRemote' specialcfg c
+ return $ Just $ specialRemote' (specialRemoteCfg c) c
(fileStorer $ store o)
(fileRetriever $ retrieve o)
(remove o)
rsyncRemote :: Direction -> RsyncOpts -> Maybe MeterUpdate -> [CommandParam] -> Annex Bool
rsyncRemote direction o m params = do
- showOutput -- make way for progress bar
opts <- mkopts
let ps = opts ++ Param "--progress" : params
case m of
Nothing -> liftIO $ rsync ps
Just meter -> do
- oh <- mkOutputHandler
+ oh <- mkOutputHandlerQuiet
liftIO $ rsyncProgress oh meter ps
where
mkopts