[PATCH] config.txt: correct the note about uploadpack.packObjectsHook
- Date: Sat, 29 Sep 2018 08:50:56 +0200
- From: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>
- Subject: [PATCH] config.txt: correct the note about uploadpack.packObjectsHook
Document for uploadpack.packObjectsHook is added in  and consists
of two paragraphs, the second one is quite important about where this
variable can stay.
When the paragraph about uploadpack.allowFilter is added in , it's
added in between the two paragraphs. This makes the "this is non-repo
level config" note incorrectly apply to allowFilter instead of
packObjectsHook. Move allowFilter paragraph down to fix this.
 20b20a22f8 (upload-pack: provide a hook for running pack-objects -
 10ac85c785 (upload-pack: add object filtering for partial clone -
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>
Documentation/config.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index ad0f4510c3..907b1d0cb9 100644
@@ -3666,15 +3666,15 @@ uploadpack.packObjectsHook::
was run. I.e., `upload-pack` will feed input intended for
`pack-objects` to the hook, and expects a completed packfile on
- If this option is set, `upload-pack` will support partial
- clone and partial fetch object filtering.
Note that this configuration variable is ignored if it is seen in the
repository-level config (this is a safety measure against fetching from
+ If this option is set, `upload-pack` will support partial
+ clone and partial fetch object filtering.
If this option is set, `upload-pack` will support the `ref-in-want`
feature of the protocol version 2 `fetch` command. This feature