forgejo/routers
Jason Song e4a10f8c78
Sync git hooks when config file path changed (#21619) (#21626)
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: zeripath <art27@cantab.net>
2022-10-30 11:17:11 +08:00
..
api Fix 500 on PR files API (#21602) (#21607) 2022-10-26 19:21:08 +03:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix read system configuration bug when installing (#21489) 2022-10-18 23:16:58 +08:00
private Refactor git command arguments and make all arguments to be safe to be used (#21535) 2022-10-23 22:44:45 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
init.go Sync git hooks when config file path changed (#21619) (#21626) 2022-10-30 11:17:11 +08:00