diff options
author | zeripath <art27@cantab.net> | 2019-08-14 10:25:05 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-08-14 12:25:05 +0300 |
commit | def84840dbce6d725618e1aeab4ca1f665600087 (patch) | |
tree | b8e73be1d7a182103c0ebf6f02392295d31aa737 /cmd | |
parent | 7eed11e5e9855324dd328a99133bf1f668076f80 (diff) | |
download | gitea-def84840dbce6d725618e1aeab4ca1f665600087.tar.gz gitea-def84840dbce6d725618e1aeab4ca1f665600087.zip |
Attempt to fix hook problem (#7854)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/hook.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/hook.go b/cmd/hook.go index ca876f02a3..f5b7962aab 100644 --- a/cmd/hook.go +++ b/cmd/hook.go @@ -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 { |