when not using rsync (for local gcrypt repo), display own progress meter
This commit is contained in:
parent
1cd2273035
commit
8601f8f571
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue