forgejo/modules
zeripath add74fb368
Fix panic in recursive cache ()
There is a bug with last commit cache recursive cache where the last
commit information that refers to the current tree itself will cause a
panic due to its path ("") not being included in the expected tree entry
paths.

This PR fixes this by skipping the missing entry.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-06-29 16:12:43 -04:00
..
analyze Speed up enry.IsVendor () 2021-04-01 19:41:09 +02:00
auth Add asymmetric JWT signing () 2021-06-17 23:56:46 +02:00
avatar Add Image Diff for SVG files () 2021-06-05 15:32:19 +03:00
base Fixed assert statements. () 2021-06-07 07:27:09 +02:00
cache [Vendor] Update go-redis to v8.5.0 () 2021-02-10 21:28:32 +00:00
charset Refactor renders () 2021-04-19 18:25:08 -04:00
context Rework repository archive () 2021-06-23 17:12:38 -04:00
convert Fix API to return author for author on commits() 2021-06-27 23:15:42 +01:00
cron add cron job to delete old actions from database () 2021-05-01 14:17:02 +02:00
csv Refactor renders () 2021-04-19 18:25:08 -04:00
doctor Rework repository archive () 2021-06-23 17:12:38 -04:00
emoji Run processors on whole of text () 2021-06-17 11:35:05 +01:00
eventsource Hold the event source when there are no listeners () 2021-05-15 23:46:13 +02:00
generate Add asymmetric JWT signing () 2021-06-17 23:56:46 +02:00
git Fix panic in recursive cache () 2021-06-29 16:12:43 -04:00
gitgraph Fix bug on commit graph () 2021-04-17 10:27:25 +01:00
graceful Set self-adjusting deadline for connection writing () 2021-06-11 00:25:25 +03:00
hcaptcha hCaptcha Support () 2020-10-02 23:37:53 -04:00
highlight Replace ARCCache with TwoQueueCache to avoid patent issue () 2021-06-24 14:37:07 -04:00
httpcache Add ETag header () 2021-04-12 10:49:26 -04:00
httplib fix webhook timeout bug () 2021-04-25 21:48:12 +03:00
indexer Use git log name-status in get last commit () 2021-06-21 01:00:46 +03:00
lfs Add push to remote mirror repository () 2021-06-14 19:20:43 +02:00
log Fixed assert statements. () 2021-06-07 07:27:09 +02:00
markup Add custom emoji support () 2021-06-29 16:28:38 +02:00
matchlist Add Allow-/Block-List for Migrate & Mirrors () 2020-11-28 19:37:58 -05:00
metrics Prometheus endpoint () 2018-11-04 22:20:00 -05:00
migrations Add Status Updates whilst Gitea migrations are occurring () 2021-06-16 18:02:24 -04:00
nosql Fix setting redis db path () 2021-05-03 13:24:24 -04:00
notification Implemented head_commit for webhooks () 2021-06-29 15:34:03 +02:00
options Add StatDir and replace com.StatDir () 2020-12-22 07:40:57 +08:00
password Fixed assert statements. () 2021-06-07 07:27:09 +02:00
pprof Add golangci () 2019-06-12 15:41:28 -04:00
private Small refactoring of modules/private () 2021-06-23 15:38:19 -04:00
process Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
public Improve assets handler middleware () 2021-05-30 18:25:11 +08:00
queue Fixed assert statements. () 2021-06-07 07:27:09 +02:00
recaptcha Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
references Improve efficiency in FindRenderizableReferenceNumeric and getReferences () 2021-06-26 01:11:33 +02:00
repofiles Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
repository Implemented head_commit for webhooks () 2021-06-29 15:34:03 +02:00
secret Use single shared random string generation function () 2021-05-10 07:45:17 +01:00
session Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
setting Add custom emoji support () 2021-06-29 16:28:38 +02:00
ssh Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback () 2021-06-28 13:05:27 -04:00
storage Rework repository archive () 2021-06-23 17:12:38 -04:00
structs Add custom emoji support () 2021-06-29 16:28:38 +02:00
svg Fix filepath basename on Windows for SVG bindata () 2020-07-13 21:16:40 +01:00
sync Fix missing unlock in uniquequeue () 2020-01-15 23:58:33 +02:00
task Add Status Updates whilst Gitea migrations are occurring () 2021-06-16 18:02:24 -04:00
templates Add custom emoji support () 2021-06-29 16:28:38 +02:00
test Move middlewares to web/middleware () 2021-01-30 10:55:53 +02:00
timeutil Fix display since time round () 2021-01-28 13:29:22 +01:00
translation Use index of the supported tags to choose user lang () 2021-04-14 19:52:01 +01:00
typesniffer Add Image Diff for SVG files () 2021-06-05 15:32:19 +03:00
upload Update golangci-lint to version 1.31.0 () 2020-10-11 21:27:20 +01:00
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea () 2020-12-27 11:34:19 +08:00
user Add gitea-vet () 2020-04-05 07:20:50 +01:00
util Add push to remote mirror repository () 2021-06-14 19:20:43 +02:00
validation Added support for gopher URLs. () 2021-06-25 18:38:27 -04:00
web Add tag protection () 2021-06-25 16:28:55 +02:00