From c61f5562e653e57c7732275d272281ea04421ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=C3=A1i=20Ng=E1=BB=8Dc=20Duy?= Date: Sat, 27 Oct 2018 08:23:44 +0200 Subject: [PATCH] config.txt: move uploadarchive.* to a separate file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- Documentation/config.txt | 7 +------ Documentation/config/uploadarchive.txt | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 Documentation/config/uploadarchive.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index 07100e236e4d40..00cc2791b501ec 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -423,12 +423,7 @@ include::config/tag.txt[] include::config/transfer.txt[] -uploadarchive.allowUnreachable:: - If true, allow clients to use `git archive --remote` to request - any tree, whether reachable from the ref tips or not. See the - discussion in the "SECURITY" section of - linkgit:git-upload-archive[1] for more details. Defaults to - `false`. +include::config/uploadarchive.txt[] uploadpack.hideRefs:: This variable is the same as `transfer.hideRefs`, but applies diff --git a/Documentation/config/uploadarchive.txt b/Documentation/config/uploadarchive.txt new file mode 100644 index 00000000000000..e0698e8c1d91d4 --- /dev/null +++ b/Documentation/config/uploadarchive.txt @@ -0,0 +1,6 @@ +uploadarchive.allowUnreachable:: + If true, allow clients to use `git archive --remote` to request + any tree, whether reachable from the ref tips or not. See the + discussion in the "SECURITY" section of + linkgit:git-upload-archive[1] for more details. Defaults to + `false`.