mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user