summaryrefslogtreecommitdiff
path: root/Remote/GCrypt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/GCrypt.hs')
-rw-r--r--Remote/GCrypt.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/Remote/GCrypt.hs b/Remote/GCrypt.hs
index faf45b1d9..b2df7d56a 100644
--- a/Remote/GCrypt.hs
+++ b/Remote/GCrypt.hs
@@ -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