mirror of
https://github.com/go-gitea/gitea
synced 2025-01-11 02:04:27 +00:00
When creating new repository fsck option should be enabled (#5817)
This commit is contained in:
parent
3b364029f7
commit
386e5312a4
@ -1375,6 +1375,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
|
|||||||
LowerName: strings.ToLower(opts.Name),
|
LowerName: strings.ToLower(opts.Name),
|
||||||
Description: opts.Description,
|
Description: opts.Description,
|
||||||
IsPrivate: opts.IsPrivate,
|
IsPrivate: opts.IsPrivate,
|
||||||
|
IsFsckEnabled: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
sess := x.NewSession()
|
sess := x.NewSession()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user