diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:27:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:27:03 -0700 |
commit | d552f8df1b2749b58e386dff98027c64f35cdbd1 (patch) | |
tree | 36dedb20c44f081e8d50a3459b520c861d52c51c /Documentation/config.txt | |
parent | c89eb9870e474b0717d6e11f0ddb8b73cef520af (diff) | |
parent | 7671b63211712e5163ed46d4c93d0b75680c886c (diff) | |
download | git-d552f8df1b2749b58e386dff98027c64f35cdbd1.tar.gz |
Merge branch 'sg/archive-restrict-remote'
Allow loosening remote "git archive" invocation security check that
refuses to serve tree-ish not at the tip of any ref.
* sg/archive-restrict-remote:
add uploadarchive.allowUnreachable option
docs: clarify remote restrictions for git-upload-archive
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 989eb80ac1..0e1dde3fff 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -2336,6 +2336,13 @@ transfer.unpackLimit:: not set, the value of this variable is used instead. The default value is 100. +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`. + uploadpack.hiderefs:: String(s) `upload-pack` uses to decide which refs to omit from its initial advertisement. Use more than one |