Browse Source

When creating new repository fsck option should be enabled (#5817)

tags/v1.9.0-dev
Lauris BH 6 years ago committed by techknowlogick
parent
commit
386e5312a4
  1. 1
      models/repo.go

1
models/repo.go

@ -1375,6 +1375,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
LowerName: strings.ToLower(opts.Name),
Description: opts.Description,
IsPrivate: opts.IsPrivate,
IsFsckEnabled: true,
}
sess := x.NewSession()

Loading…
Cancel
Save