From f4629fc472338e935b77f32b8d9dc5793937203a Mon Sep 17 00:00:00 2001 From: Norwin Date: Tue, 16 Mar 2021 01:00:52 +0000 Subject: Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965) --- modules/forms/repo_form.go | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'modules/forms') diff --git a/modules/forms/repo_form.go b/modules/forms/repo_form.go index 6cf72ee6b8..6c7c9bea13 100644 --- a/modules/forms/repo_form.go +++ b/modules/forms/repo_form.go @@ -123,34 +123,34 @@ type RepoSettingForm struct { EnablePrune bool // Advanced settings - EnableWiki bool - EnableExternalWiki bool - ExternalWikiURL string - EnableIssues bool - EnableExternalTracker bool - ExternalTrackerURL string - TrackerURLFormat string - TrackerIssueStyle string - EnableProjects bool - EnablePulls bool - PullsIgnoreWhitespace bool - PullsAllowMerge bool - PullsAllowRebase bool - PullsAllowRebaseMerge bool - PullsAllowSquash bool - PullsAllowManualMerge bool - EnableAutodetectManualMerge bool - EnableTimetracker bool - AllowOnlyContributorsToTrackTime bool - EnableIssueDependencies bool - IsArchived bool + EnableWiki bool + EnableExternalWiki bool + ExternalWikiURL string + EnableIssues bool + EnableExternalTracker bool + ExternalTrackerURL string + TrackerURLFormat string + TrackerIssueStyle string + EnableCloseIssuesViaCommitInAnyBranch bool + EnableProjects bool + EnablePulls bool + PullsIgnoreWhitespace bool + PullsAllowMerge bool + PullsAllowRebase bool + PullsAllowRebaseMerge bool + PullsAllowSquash bool + PullsAllowManualMerge bool + EnableAutodetectManualMerge bool + EnableTimetracker bool + AllowOnlyContributorsToTrackTime bool + EnableIssueDependencies bool + IsArchived bool // Signing Settings TrustModel string // Admin settings - EnableHealthCheck bool - EnableCloseIssuesViaCommitInAnyBranch bool + EnableHealthCheck bool } // Validate validates the fields -- cgit v1.2.3