mirror of
https://github.com/go-gitea/gitea
synced 2025-01-18 13:27:44 +01:00
6e2dacfef6
Backport #15546 Backport #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>