This commit is contained in:
Joey Hess 2010-10-23 14:26:23 -04:00
parent 5601a8db02
commit fcd30ce992

View file

@ -198,6 +198,7 @@ copyFromRemote r key file = do
else if (Git.repoIsSsh r)
then getssh
else error "copying from non-ssh repo not supported"
where
getlocal = liftIO $ boolSystem "cp" ["-a", location, file]
getssh = do
liftIO $ putStrLn "" -- make way for scp progress bar