aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-08-14 10:25:05 +0100
committerLauris BH <lauris@nix.lv>2019-08-14 12:25:05 +0300
commitdef84840dbce6d725618e1aeab4ca1f665600087 (patch)
treeb8e73be1d7a182103c0ebf6f02392295d31aa737 /cmd
parent7eed11e5e9855324dd328a99133bf1f668076f80 (diff)
downloadgitea-def84840dbce6d725618e1aeab4ca1f665600087.tar.gz
gitea-def84840dbce6d725618e1aeab4ca1f665600087.zip
Attempt to fix hook problem (#7854)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hook.go1
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 {