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-06-11 21:50:14 +08:00
2021-10-24 22:12:43 +01:00
2022-01-20 18:46:10 +01:00
2021-12-02 15:28:08 +08:00
2022-06-11 21:50:14 +08:00
2022-01-20 18:46:10 +01:00
2021-10-17 20:47:12 +01:00
2022-01-20 18:46:10 +01:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.