summaryrefslogtreecommitdiffstats
path: root/git.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-05 13:39:53 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-05 13:39:53 -0700
commit1eb5609b6b3e2908ee747dfe313c24f17334ce26 (patch)
tree7399ab13ecb59275ff9caa0624441831a5b0f8de /git.html
parent70d664063d4eb347c0d30071e08a40fbf72dcd34 (diff)
downloadgit-htmldocs-1eb5609b6b3e2908ee747dfe313c24f17334ce26.tar.gz
Autogenerated HTML docs for v2.6.1-120-g24a00e
Diffstat (limited to 'git.html')
-rw-r--r--git.html54
1 files changed, 53 insertions, 1 deletions
diff --git a/git.html b/git.html
index 842937971..12596b1b2 100644
--- a/git.html
+++ b/git.html
@@ -2877,6 +2877,58 @@ GIT_ICASE_PATHSPECS
cloning a repository to make a backup).
</p>
</dd>
+<dt class="hdlist1">
+<code>GIT_ALLOW_PROTOCOL</code>
+</dt>
+<dd>
+<p>
+ If set, provide a colon-separated list of protocols which are
+ allowed to be used with fetch/push/clone. This is useful to
+ restrict recursive submodule initialization from an untrusted
+ repository. Any protocol not mentioned will be disallowed (i.e.,
+ this is a whitelist, not a blacklist). If the variable is not
+ set at all, all protocols are enabled. The protocol names
+ currently used by git are:
+</p>
+<div class="ulist"><ul>
+<li>
+<p>
+<code>file</code>: any local file-based path (including <code>file://</code> URLs,
+ or local paths)
+</p>
+</li>
+<li>
+<p>
+<code>git</code>: the anonymous git protocol over a direct TCP
+ connection (or proxy, if configured)
+</p>
+</li>
+<li>
+<p>
+<code>ssh</code>: git over ssh (including <code>host:path</code> syntax,
+ <code>git+ssh://</code>, etc).
+</p>
+</li>
+<li>
+<p>
+<code>rsync</code>: git over rsync
+</p>
+</li>
+<li>
+<p>
+<code>http</code>: git over http, both "smart http" and "dumb http".
+ Note that this does <em>not</em> include <code>https</code>; if you want both,
+ you should specify both as <code>http:https</code>.
+</p>
+</li>
+<li>
+<p>
+any external helpers are named by their protocol (e.g., use
+ <code>hg</code> to allow the <code>git-remote-hg</code> helper)
+</p>
+</li>
+</ul></div>
+</dd>
</dl></div>
</div>
</div>
@@ -2985,7 +3037,7 @@ subscribed to the list to send a message there.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-09-28 15:51:31 PDT
+Last updated 2015-10-05 13:38:43 PDT
</div>
</div>
</body>