forgejo/modules
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
analyze
appstate
auth
avatar
base Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
cache
charset Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
container
context Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
convert Include login_name in adminCreateUser response (#20283) 2022-07-15 16:52:11 +08:00
csv
doctor Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
emoji
eventsource Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
generate
git Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
gitgraph Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
graceful Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
hcaptcha
highlight Improve code diff highlight, fix incorrect rendered diff result (#19958) 2022-07-23 19:28:02 +08:00
hostmatcher Add tests for the host checking logic, clarify the behaviors (#20328) 2022-07-13 09:07:16 +08:00
httpcache Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
httplib
indexer Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) 2022-07-01 07:48:25 +08:00
json
lfs
log
markup Use body text color in repository files table links (#20386) 2022-07-22 18:49:24 +08:00
metrics
migration Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) 2022-07-01 07:48:25 +08:00
mirror Implement sync push mirror on commit (#19411) 2022-07-08 20:45:12 +01:00
nosql Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
notification Implement sync push mirror on commit (#19411) 2022-07-08 20:45:12 +01:00
options
packages Fix Ruby package parsing by removed unused email field (#20470) 2022-07-25 02:52:14 +02:00
paginator
password
pprof
private Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
process Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
proxy
public
queue Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
recaptcha
references Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
regexplru
repository Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
secret
session
setting Use default values when provided values are empty (#20318) 2022-07-13 13:33:31 +08:00
sitemap Add sitemap support (#18407) 2022-06-25 19:06:01 +02:00
ssh Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) 2022-07-10 14:50:26 +08:00
storage Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
structs Dismiss prior pull reviews if done via web in review dismiss (#20197) 2022-07-19 15:20:28 +02:00
svg
sync
templates Vertical align avatar at middle (#20302) 2022-07-10 19:49:13 +01:00
test
timeutil Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
translation Allow dev i18n to be more concurrent (#20159) 2022-07-04 12:17:09 +02:00
typesniffer
updatechecker
upload
uri
user
util Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
validation
web Fix various typos (#20338) 2022-07-12 23:32:37 +02:00