This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix migrate mirror 500 bug (
#8526
)
for-closed-social
Lunny Xiao
4 years ago
committed by
zeripath
parent
0b44f0c465
commit
1d9a1a0d45
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
models/repo.go
+ 1
- 0
models/repo.go
View File
@ -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
(
)
Write
Preview
Loading…
Cancel
Save