Fix making public
This commit is contained in:
parent
219349e95a
commit
5bd6e34c6b
@ -45,7 +45,7 @@ pushRepo :: String -> SHA1 -> String -> String -> Channel -> Handler ()
|
||||
pushRepo repoDir commit targetRepoUrl targetBranchName chan = do
|
||||
(_, _) <- runProgram (Just repoDir) gitPath [
|
||||
"push",
|
||||
targetRepoUrl,
|
||||
(T.unpack $ fixGitRepoUrl $ T.pack targetRepoUrl),
|
||||
(T.unpack $ fromSHA1ToText commit) ++ ":refs/heads/" ++ targetBranchName] chan
|
||||
return ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user