@@ -98,6 +98,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
9898 allowSquash := false
9999 allowFastForwardOnly := false
100100 allowRebaseUpdate := false
101+ allowManualMerge := true
102+ autodetectManualMerge := false
101103 defaultDeleteBranchAfterMerge := false
102104 defaultMergeStyle := repo_model .MergeStyleMerge
103105 defaultAllowMaintainerEdit := false
@@ -111,6 +113,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
111113 allowSquash = config .AllowSquash
112114 allowFastForwardOnly = config .AllowFastForwardOnly
113115 allowRebaseUpdate = config .AllowRebaseUpdate
116+ allowManualMerge = config .AllowManualMerge
117+ autodetectManualMerge = config .AutodetectManualMerge
114118 defaultDeleteBranchAfterMerge = config .DefaultDeleteBranchAfterMerge
115119 defaultMergeStyle = config .GetDefaultMergeStyle ()
116120 defaultAllowMaintainerEdit = config .DefaultAllowMaintainerEdit
@@ -235,6 +239,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
235239 AllowSquash : allowSquash ,
236240 AllowFastForwardOnly : allowFastForwardOnly ,
237241 AllowRebaseUpdate : allowRebaseUpdate ,
242+ AllowManualMerge : allowManualMerge ,
243+ AutodetectManualMerge : autodetectManualMerge ,
238244 DefaultDeleteBranchAfterMerge : defaultDeleteBranchAfterMerge ,
239245 DefaultMergeStyle : string (defaultMergeStyle ),
240246 DefaultAllowMaintainerEdit : defaultAllowMaintainerEdit ,
0 commit comments