summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-06-29 21:12:43 +0100
committerGitHub <noreply@github.com>2021-06-29 16:12:43 -0400
commitadd74fb368b4b6a5deee91e052240c0956d7dc5b (patch)
treedf9b63a3f9ba75175979022687ffd45a67c8a8d6 /models
parent653704c102f7eb389adcbbcfd0e5a9e9aaa5b227 (diff)
downloadgitea-add74fb368b4b6a5deee91e052240c0956d7dc5b.tar.gz
gitea-add74fb368b4b6a5deee91e052240c0956d7dc5b.zip
Fix panic in recursive cache (#16298)
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 #16290 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions