mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-24 17:41:29 +08:00

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>