Attempt to fix hook problem (#7854)
This commit is contained in:
parent
7eed11e5e9
commit
def84840db
3 changed files with 18 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue