mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-11 13:05:25 +08:00

A simple refactor to reduce duplicate codes. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: delvh <dev.lh@web.de>