Closed
Description
Description
Currently to allow clone filters (upload pack filters), one have to manually set the option via git config
, as described on the docs.
To be better, there should be option on app.ini
named ALLOW_CLONE_FILTERS
(or ALLOW_UPLOAD_PACK_FILTERS
) which toggle git config allowpack.togglefilter
globally, defaulted to false (which disallow filters). To allow filters, set the option to true.
This option can be overridden on per-repo basis.
Note that clone filters requires Git version 2.22 or later. The option above must be hardcoded to false for instances running Git versions lower than the required.