Attempt to fix hook problem (#7856)

This commit is contained in:
zeripath authored and Lunny Xiao committed 2019-08-14 17:43:02 +08:00
1 parent 1e2fe9f0b4
commit 94f0151789
3 files changed
+18 -6

No files matched your search

+1
View File
@@ -96,6 +96,7 @@ func runHookPreReceive(c *cli.Context) error {
UserID: userID,
GitAlternativeObjectDirectories: os.Getenv(private.GitAlternativeObjectDirectories),
GitObjectDirectory: os.Getenv(private.GitObjectDirectory),
GitQuarantinePath: os.Getenv(private.GitQuarantinePath),
ProtectedBranchID: prID,
})
switch statusCode {