Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- Documentation/config.txt | 7 +------ Documentation/uploadarchive-config.txt | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 Documentation/uploadarchive-config.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index b70f98baba..fef310d47d 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -672,12 +672,7 @@ include::tag-config.txt[] include::transfer-config.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::uploadarchive-config.txt[] uploadpack.hideRefs:: This variable is the same as `transfer.hideRefs`, but applies diff --git a/Documentation/uploadarchive-config.txt b/Documentation/uploadarchive-config.txt new file mode 100644 index 0000000000..e0698e8c1d --- /dev/null +++ b/Documentation/uploadarchive-config.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`. -- 2.19.1.647.g708186aaf9