mirror of https://github.com/go-gitea/gitea.git
Only allow returned deleted branche to be on repo (#17570)
- This will only allow `GetDeletedBranchByID` to return deletedBranch which are on the repo, and thus don't return a deletedBranch from another repo. - This just should prevent possible bugs in the futher when a code is passing the wrong ID into this function.pull/17566/head^2
parent
ebaf4c48ea
commit
640f0e1ddf
Loading…
Reference in New Issue