]> source.dussan.org Git - gitea.git/commit
Performance optimization for git push (#30104)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 9 Apr 2024 03:43:17 +0000 (11:43 +0800)
committerGitHub <noreply@github.com>
Tue, 9 Apr 2024 03:43:17 +0000 (03:43 +0000)
commit263a716cb52037f3e7e51f014f6c8cdfad6ae03d
tree2ca921707de7f1d35bacefe0f06a9ea0aa676f32
parent72dc75e594fb5227abfa1cb74cb652cc33bacc93
Performance optimization for git push (#30104)

Agit returned result should be from `ProcReceive` hook but not
`PostReceive` hook. Then for all non-agit pull requests, it will not
check the pull requests for every pushing `refs/pull/%d/head`.
cmd/hook.go
modules/private/hook.go
routers/private/hook_post_receive.go
services/agit/agit.go
tests/integration/git_push_test.go