mirror of https://github.com/go-gitea/gitea.git
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.
832f987d80
In #17933 repoAssignment no longer sets the ctx.Repo.Mirror field meaning that attempting change mirror settings results in an NPE. This PR simply restores this. Either we should remove this field or, we should set it. At present it seems simplest to set it instead of going looking in the Data for the value although converting the context to a bag of things may be the correct approach in the future. Fix #18204 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
3 years ago | |
---|---|---|
.. | ||
access_log.go | 4 years ago | |
api.go | 3 years ago | |
api_org.go | 3 years ago | |
api_test.go | 6 years ago | |
auth.go | 3 years ago | |
captcha.go | 4 years ago | |
context.go | 3 years ago | |
csrf.go | 4 years ago | |
form.go | 4 years ago | |
org.go | 3 years ago | |
pagination.go | 3 years ago | |
permission.go | 3 years ago | |
private.go | 4 years ago | |
repo.go | 3 years ago | |
response.go | 4 years ago | |
xsrf.go | 4 years ago | |
xsrf_test.go | 4 years ago |