1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-04 08:38:37 +00:00

Attempt to fix hook problem (#7856)

This commit is contained in:
zeripath
2019-08-14 10:43:02 +01:00
committed by Lunny Xiao
parent 1e2fe9f0b4
commit 94f0151789
3 changed files with 18 additions and 6 deletions

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 {