Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore setting of ctx.Repo.Mirror #18205

Merged
merged 2 commits into from
Jan 8, 2022
Merged

Commits on Jan 7, 2022

  1. Restore setting of ctx.Repo.Mirror

    In go-gitea#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 go-gitea#18204
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    c56c25a View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

  1. Configuration menu
    Copy the full SHA
    7cbc2a1 View commit details
    Browse the repository at this point in the history