You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444)
The LastCommitCache code is a little complex and there is unnecessary
duplication between the gogit and nogogit variants.

This PR adds the LastCommitCache as a field to the git.Repository and
pre-creates it in the ReferencesGit helpers etc. There has been some
simplification and unification of the variant code.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
api Slightly simplify LastCommitCache (#20444) 2 years ago
common Fix raw endpoint PDF file headers (#19825) 2 years ago
install Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
private Add missing parameter for error in log message (#20144) 2 years ago
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
web Slightly simplify LastCommitCache (#20444) 2 years ago
init.go Initialize cron last (#20373) 2 years ago