run upload-pack, not send-pack

we're doing a reverse pull from the client
This commit is contained in:
Joey Hess 2014-11-18 15:25:55 -04:00
parent 638d834df0
commit e96a66709a
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ spin hn hst = do
loop
Just NeedGitPush -> do
sendMarked toh gitPushMarker ""
unlessM (boolSystem "git" [Param "send-pack", Param "--thin", Param "."]) $
unlessM (boolSystem "git" [Param "upload-pack", Param "."]) $
warningMessage "git send-pack failed"
-- no more protocol possible after
-- git push