repo/pull: allow rebase before merging (#4805)

This commit is contained in:
Unknwon
2017-11-15 23:27:52 -05:00
parent 5cd1fdeb9e
commit 34c2e52bd5
9 changed files with 60 additions and 34 deletions

View File

@@ -102,7 +102,7 @@ type RepoSetting struct {
TrackerURLFormat string
TrackerIssueStyle string
EnablePulls bool
PullUseRebase bool
PullsAllowRebase bool
}
func (f *RepoSetting) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {