when not using rsync (for local gcrypt repo), display own progress meter

This commit is contained in:
Joey Hess 2014-08-03 20:19:04 -04:00
parent 1cd2273035
commit 8601f8f571

View file

@ -120,9 +120,11 @@ gen' r u c gc = do
(simplyPrepare $ retrieve this rsyncopts)
this
where
specialcfg = (specialRemoteCfg c)
-- Rsync displays its own progress.
{ displayProgress = False }
specialcfg
| Git.repoIsUrl r = (specialRemoteCfg c)
-- Rsync displays its own progress.
{ displayProgress = False }
| otherwise = specialRemoteCfg c
rsyncTransportToObjects :: Git.Repo -> Annex ([CommandParam], String)
rsyncTransportToObjects r = do