diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-29 14:10:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-29 14:10:55 -0400 |
commit | 7c0777c60d5381cc16342483747e1fc9c92e41e0 (patch) | |
tree | 92d30d2d4c5b0eca89855aab13dac74f8fcf8fc0 /Remotes.hs | |
parent | d92f186fc4bc34e0999a6e47f15e54717e0ab206 (diff) |
avoid unnessary newlines before progress in quiet mode
Diffstat (limited to 'Remotes.hs')
-rw-r--r-- | Remotes.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Remotes.hs b/Remotes.hs index a432e1b5d..66395adcd 100644 --- a/Remotes.hs +++ b/Remotes.hs @@ -39,6 +39,7 @@ import LocationLog import Locations import UUID import Utility +import qualified Core {- Human visible list of remotes. -} list :: [Git.Repo] -> String @@ -200,7 +201,7 @@ copyFromRemote r key file = do where getlocal = liftIO $ boolSystem "cp" ["-a", keyloc, file] getssh = do - liftIO $ putStrLn "" -- make way for scp progress bar + Core.showProgress -- make way for scp progress bar liftIO $ boolSystem "scp" [sshLocation r keyloc, file] keyloc = annexLocation r key @@ -217,7 +218,7 @@ copyToRemote r key file = do where putlocal src = liftIO $ boolSystem "cp" ["-a", src, file] putssh src = do - liftIO $ putStrLn "" -- make way for scp progress bar + Core.showProgress -- make way for scp progress bar liftIO $ boolSystem "scp" [src, sshLocation r file] sshLocation :: Git.Repo -> FilePath -> FilePath |