Skip to content

app.ini option to allow clone filters #14697

Closed
@bagasme

Description

@bagasme

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions