]> source.dussan.org Git - gitea.git/commit
If the default branch is not present do not report error on stats indexing (follow...
authorzeripath <art27@cantab.net>
Thu, 22 Apr 2021 15:35:29 +0000 (16:35 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 15:35:29 +0000 (17:35 +0200)
commitd6a33cef23c3be2c2b5179c58ad269cd80f8d478
treec52243ef1fd27d8affccbbb1fd56a4dc8794d4fa
parent72e0ad8000412b005fad0daa3a5f91c97b791ec8
If the default branch is not present do not report error on stats indexing (follow-up of #15546) (#15583)

#15546 doesn't completely fix this problem because the error returned is an ObjectNotExist
error not a BranchNotExist error.

Add test for ErrObjectNotExist too

Fix #15257

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/indexer/stats/db.go