forgejo/routers/api/v1
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>
2022-07-25 16:39:42 +01:00
..
activitypub Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
admin Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00
misc
notify Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
org Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
packages
repo Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
settings
swagger Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
user Only show Followers that current user can access (#20220) 2022-07-05 16:47:45 +01:00
utils Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
api.go Add write check for creating Commit status (#20332) 2022-07-12 14:51:06 +02:00
auth.go
auth_windows.go