Skip to content

Commit

Permalink
Fix migrate mirror 500 bug (#8526)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and zeripath committed Oct 16, 2019
1 parent 0b44f0c commit 1d9a1a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
IsFsckEnabled: !opts.IsMirror,
CloseIssuesViaCommitInAnyBranch: setting.Repository.DefaultCloseIssuesViaCommitsInAnyBranch,
Status: opts.Status,
IsEmpty: !opts.AutoInit,
}

sess := x.NewSession()
Expand Down

0 comments on commit 1d9a1a0

Please sign in to comment.