diff options
author | Joey Hess <joey@kitenet.net> | 2014-08-03 20:19:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-08-03 20:19:04 -0400 |
commit | 6f34a7c9762a94befddc80dbdd898c2f5b6407f7 (patch) | |
tree | 1e699834f9d4a61ec4f7995a43af4d02b4efa9b0 | |
parent | 1f55c2a00d47290af6198e2df06a9d2e406fcff1 (diff) |
when not using rsync (for local gcrypt repo), display own progress meter
-rw-r--r-- | Remote/GCrypt.hs | 8 |
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 |