Skip to content

Commit a812789

Browse files
pks-tgitster
authored andcommitted
uploadpack.txt: document implication of uploadpackfilter.allow
When `uploadpackfilter.allow` is set to `true`, it means that filters are enabled by default except in the case where a filter is explicitly disabled via `uploadpackilter.<filter>.allow`. This option will not only enable the currently supported set of filters, but also any filters which get added in the future. As such, an admin which wants to have tight control over which filters are allowed and which aren't probably shouldn't ever set `uploadpackfilter.allow=true`. Amend the documentation to make the ramifications more explicit so that admins are aware of this. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 89b43f8 commit a812789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/config/uploadpack.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ uploadpack.allowFilter::
5959

6060
uploadpackfilter.allow::
6161
Provides a default value for unspecified object filters (see: the
62-
below configuration variable).
62+
below configuration variable). If set to `true`, this will also
63+
enable all filters which get added in the future.
6364
Defaults to `true`.
6465

6566
uploadpackfilter.<filter>.allow::

0 commit comments

Comments
 (0)