git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] config/uploadpack.txt: fix typo in `--filter=tree:<n>`
@ 2020-09-27 14:11 Martin Ågren
  2020-09-28 14:44 ` Taylor Blau
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Ågren @ 2020-09-27 14:11 UTC (permalink / raw)
  To: git; +Cc: Taylor Blau

That should be a ":", not a second "=". While at it, refer to the
placeholder "<n>" as "<n>", not "n" (see, e.g., the entry just before
this one).

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 On tb/upload-pack-filters.

 Documentation/config/uploadpack.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/config/uploadpack.txt b/Documentation/config/uploadpack.txt
index ee7b3ac94f..b0d761282c 100644
--- a/Documentation/config/uploadpack.txt
+++ b/Documentation/config/uploadpack.txt
@@ -65,17 +65,17 @@ uploadpackfilter.allow::
 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
+	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
 	is intended for the benefit of load-balanced servers which may
-- 
2.28.0.277.g9b3c35fffd


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] config/uploadpack.txt: fix typo in `--filter=tree:<n>`
  2020-09-27 14:11 [PATCH] config/uploadpack.txt: fix typo in `--filter=tree:<n>` Martin Ågren
@ 2020-09-28 14:44 ` Taylor Blau
  0 siblings, 0 replies; 2+ messages in thread
From: Taylor Blau @ 2020-09-28 14:44 UTC (permalink / raw)
  To: Martin Ågren; +Cc: git, Taylor Blau

Hi Martin,

On Sun, Sep 27, 2020 at 04:11:55PM +0200, Martin Ågren wrote:
> That should be a ":", not a second "=". While at it, refer to the
> placeholder "<n>" as "<n>", not "n" (see, e.g., the entry just before
> this one).

Thanks for catching this. The patch below looks great to me.

> Signed-off-by: Martin Ågren <martin.agren@gmail.com>

  Acked-by: Taylor Blau <me@ttaylorr.com>

Thanks,
Taylor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-28 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 14:11 [PATCH] config/uploadpack.txt: fix typo in `--filter=tree:<n>` Martin Ågren
2020-09-28 14:44 ` Taylor Blau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).