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) (simplyPrepare $ retrieve this rsyncopts)
this this
where where
specialcfg = (specialRemoteCfg c) specialcfg
-- Rsync displays its own progress. | Git.repoIsUrl r = (specialRemoteCfg c)
{ displayProgress = False } -- Rsync displays its own progress.
{ displayProgress = False }
| otherwise = specialRemoteCfg c
rsyncTransportToObjects :: Git.Repo -> Annex ([CommandParam], String) rsyncTransportToObjects :: Git.Repo -> Annex ([CommandParam], String)
rsyncTransportToObjects r = do rsyncTransportToObjects r = do