]> source.dussan.org Git - gitea.git/commit
Refactor modules/git global variables (#29376)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 25 Feb 2024 05:35:47 +0000 (13:35 +0800)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 05:35:47 +0000 (05:35 +0000)
commit1ef87773b1e75b99b4b842303542fd17d9c2e6f7
tree6166ed87694fc257fba7bf7cdfaad9d39eddac5a
parent4e3d81e44ee3f504f7262966533305561e04101f
Refactor modules/git global variables (#29376)

Move some global variables into a struct to improve maintainability
modules/git/git.go
modules/git/repo.go
routers/private/hook_post_receive.go
routers/private/hook_pre_receive.go
routers/private/hook_proc_receive.go
routers/private/serv.go
routers/web/misc/misc.go
routers/web/repo/githttp.go