forgejo/modules/appstate
Jason Song 7a2daae7c3
Sync git hooks when config file path changed (#21619) (#21625)
Backport #21619 .

A patch to #17335.

Just like AppPath, Gitea writes its own CustomConf into git hook scripts
too. If Gitea's CustomConf changes, then the git push may fail.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-10-30 11:16:09 +08:00
..
appstate.go Sync gitea app path for git hooks and authorized keys when starting (#17335) 2021-10-21 17:22:43 +08:00
appstate_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
db.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
item_runtime.go Sync git hooks when config file path changed (#21619) (#21625) 2022-10-30 11:16:09 +08:00