diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-11 18:04:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-11 18:04:13 -0700 |
commit | 73a925516604df7a95ad69b8d650275eb4ab270f (patch) | |
tree | 2789493d2cf88c7425b3d975d6e534321a705982 /Documentation/config | |
parent | Merge branch 'es/worktree-doc-cleanups' (diff) | |
parent | t5616: use test_i18ngrep for upload-pack errors (diff) | |
download | tgif-73a925516604df7a95ad69b8d650275eb4ab270f.tar.xz |
Merge branch 'tb/upload-pack-filters'
The component to respond to "git fetch" request is made more
configurable to selectively allow or reject object filtering
specification used for partial cloning.
* tb/upload-pack-filters:
t5616: use test_i18ngrep for upload-pack errors
upload-pack.c: introduce 'uploadpackfilter.tree.maxDepth'
upload-pack.c: allow banning certain object filter(s)
list_objects_filter_options: introduce 'list_object_filter_config_name'
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/uploadpack.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/config/uploadpack.txt b/Documentation/config/uploadpack.txt index ed1c835695..ee7b3ac94f 100644 --- a/Documentation/config/uploadpack.txt +++ b/Documentation/config/uploadpack.txt @@ -57,6 +57,24 @@ uploadpack.allowFilter:: If this option is set, `upload-pack` will support partial clone and partial fetch object filtering. +uploadpackfilter.allow:: + Provides a default value for unspecified object filters (see: the + below configuration variable). + Defaults to `true`. + +uploadpackfilter.<filter>.allow:: + Explicitly allow or ban the object filter corresponding to + `<filter>`, where `<filter>` may be one of: `blob:none`, + `blob:limit`, `tree`, `sparse:oid`, or `combine`. If using + combined filters, both `combine` and all of the nested filter + kinds must be allowed. Defaults to `uploadpackfilter.allow`. + +uploadpackfilter.tree.maxDepth:: + Only allow `--filter=tree=<n>` when `n` is no more than the value of + `uploadpackfilter.tree.maxDepth`. If set, this also implies + `uploadpackfilter.tree.allow=true`, unless this configuration + variable had already been set. Has no effect if unset. + uploadpack.allowRefInWant:: If this option is set, `upload-pack` will support the `ref-in-want` feature of the protocol version 2 `fetch` command. This feature |