Commit 434e6f08 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'enable-uploadpack-filters' into 'master'

Enable uploadpack filters by default

See merge request gitlab-org/gitlab!29787
parents 34fdb0fd 34e1b619
---
title: Enable uploadpack filters by default
merge_request: 29787
author:
type: added
......@@ -77,7 +77,7 @@ module API
if receive_max_input_size > 0
payload[:git_config_options] << "receive.maxInputSize=#{receive_max_input_size.megabytes}"
if Feature.enabled?(:gitaly_upload_pack_filter, project)
if Feature.enabled?(:gitaly_upload_pack_filter, project, default_enabled: true)
payload[:git_config_options] << "uploadpack.allowFilter=true" << "uploadpack.allowAnySHA1InWant=true"
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment