@@ -98,6 +98,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
98
98
allowSquash := false
99
99
allowFastForwardOnly := false
100
100
allowRebaseUpdate := false
101
+ allowManualMerge := true
102
+ autodetectManualMerge := false
101
103
defaultDeleteBranchAfterMerge := false
102
104
defaultMergeStyle := repo_model .MergeStyleMerge
103
105
defaultAllowMaintainerEdit := false
@@ -111,6 +113,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
111
113
allowSquash = config .AllowSquash
112
114
allowFastForwardOnly = config .AllowFastForwardOnly
113
115
allowRebaseUpdate = config .AllowRebaseUpdate
116
+ allowManualMerge = config .AllowManualMerge
117
+ autodetectManualMerge = config .AutodetectManualMerge
114
118
defaultDeleteBranchAfterMerge = config .DefaultDeleteBranchAfterMerge
115
119
defaultMergeStyle = config .GetDefaultMergeStyle ()
116
120
defaultAllowMaintainerEdit = config .DefaultAllowMaintainerEdit
@@ -235,6 +239,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
235
239
AllowSquash : allowSquash ,
236
240
AllowFastForwardOnly : allowFastForwardOnly ,
237
241
AllowRebaseUpdate : allowRebaseUpdate ,
242
+ AllowManualMerge : allowManualMerge ,
243
+ AutodetectManualMerge : autodetectManualMerge ,
238
244
DefaultDeleteBranchAfterMerge : defaultDeleteBranchAfterMerge ,
239
245
DefaultMergeStyle : string (defaultMergeStyle ),
240
246
DefaultAllowMaintainerEdit : defaultAllowMaintainerEdit ,
0 commit comments