From 8601f8f57111b654ad5606aa47e42f280d2398f3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 3 Aug 2014 20:19:04 -0400 Subject: [PATCH] when not using rsync (for local gcrypt repo), display own progress meter --- Remote/GCrypt.hs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Remote/GCrypt.hs b/Remote/GCrypt.hs index faf45b1d9d..b2df7d56a1 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