1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 23:24:29 +00:00
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
..
2022-05-06 10:12:30 +01:00
2022-07-12 23:32:37 +02:00
2022-07-12 23:32:37 +02:00
2022-01-20 18:46:10 +01:00
2020-10-02 23:37:53 -04:00
2022-01-19 19:31:39 -05:00
2022-01-20 18:46:10 +01:00
2022-07-12 23:32:37 +02:00
2022-01-20 18:46:10 +01:00
2022-06-25 19:06:01 +02:00
2022-06-26 22:19:22 +08:00
2021-12-20 04:41:31 +00:00
2020-04-05 07:20:50 +01:00
2022-04-25 13:55:12 +08:00
2022-07-12 23:32:37 +02:00