propellor spin

This commit is contained in:
Joey Hess 2014-03-31 19:01:56 -04:00
parent cc74d78aba
commit 178cd65e47
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ sendGitClone host url = void $ actionMessage ("Pushing git repository to " ++ ho
withTmpFile "gitbundle" $ \tmp _ -> allM id
-- TODO: ssh connection caching, or better push method
-- with less connections.
[ boolSystem "git" [Param "bundle", Param "create", Param "-2", File tmp, Param "HEAD"]
[ boolSystem "git" [Param "bundle", Param "create", File tmp, Param "HEAD"]
, boolSystem "scp" [File tmp, Param ("root@"++host++":"++remotebundle)]
, boolSystem "ssh" [Param ("root@"++host), Param unpackcmd]
]