mirror of
https://github.com/go-gitea/gitea
synced 2025-03-19 13:32:18 +01:00
The "mirror" table and "repository" table might be out-of-sync in some cases. It means that "IsMirror=true" but "Mirror=nil" This PR removes unnecessary "Mirror" field, rename "Mirror" to "PullMirror" and fix nil panic bug. Screenshot of changed templates:   |
||
---|---|---|
.. | ||
access_log.go | ||
api.go | ||
api_org.go | ||
api_test.go | ||
captcha.go | ||
context.go | ||
context_cookie.go | ||
context_data.go | ||
context_form.go | ||
context_model.go | ||
context_request.go | ||
context_response.go | ||
context_serve.go | ||
context_test.go | ||
csrf.go | ||
org.go | ||
package.go | ||
pagination.go | ||
permission.go | ||
private.go | ||
repo.go | ||
response.go | ||
utils.go | ||
xsrf.go | ||
xsrf_test.go |