You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath 196593e2e9
More efficiently parse shas for shaPostProcessor (#16101)
* More efficiently parse shas for shaPostProcessor

The shaPostProcessor currently repeatedly calls git rev-parse --verify on both backends
which is fine if there is only one thing that matches a sha - however if there are
multiple things then this becomes wildly inefficient.

This PR provides functions for both backends which are much faster to use.

Fix #16092

* Add ShaExistCache to RenderContext

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
3 years ago
..
setting Refactor routers directory (#15800) 3 years ago
auth.go Refactor routers directory (#15800) 3 years ago
auth_openid.go Refactor routers directory (#15800) 3 years ago
avatar.go Refactor routers directory (#15800) 3 years ago
home.go Improve performance of dashboard list orgs (#16099) 3 years ago
home_test.go Refactor routers directory (#15800) 3 years ago
main_test.go Refactor routers directory (#15800) 3 years ago
notification.go Refactor routers directory (#15800) 3 years ago
oauth.go Add asymmetric JWT signing (#16010) 3 years ago
profile.go More efficiently parse shas for shaPostProcessor (#16101) 3 years ago
task.go Add Status Updates whilst Gitea migrations are occurring (#15076) 3 years ago