summaryrefslogtreecommitdiffstats
path: root/modules/forms
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2021-03-16 01:00:52 +0000
committerGitHub <noreply@github.com>2021-03-16 02:00:52 +0100
commitf4629fc472338e935b77f32b8d9dc5793937203a (patch)
tree72e776758b82efb3ddeb32d9670fd4937cd96b4d /modules/forms
parentad42adac9393419338cb0e2850056f0cd81ec438 (diff)
downloadgitea-f4629fc472338e935b77f32b8d9dc5793937203a.tar.gz
gitea-f4629fc472338e935b77f32b8d9dc5793937203a.zip
Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965)
Diffstat (limited to 'modules/forms')
-rw-r--r--modules/forms/repo_form.go46
1 files changed, 23 insertions, 23 deletions
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