summaryrefslogtreecommitdiffstats
path: root/git.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-23 14:35:54 -0700
committerJunio C Hamano <gitster@pobox.com>2021-09-23 14:35:54 -0700
commiteb4d567e7d4be3b673ecb1b77c89eef87fbbe48d (patch)
tree6e670971ae46d00fcae30de77c12521f083b641b /git.html
parentde44de3d9e71db785a0bbd06a6ddad8d2c38dd67 (diff)
downloadgit-htmldocs-eb4d567e7d4be3b673ecb1b77c89eef87fbbe48d.tar.gz
Autogenerated HTML docs for v2.33.0-591-gddb10
Diffstat (limited to 'git.html')
-rw-r--r--git.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/git.html b/git.html
index 739698301..034634924 100644
--- a/git.html
+++ b/git.html
@@ -789,6 +789,9 @@ or <a href="https://git-scm.com/docs">https://git-scm.com/docs</a>.</p></div>
<p>
Prints the Git suite version that the <em>git</em> program came from.
</p>
+<div class="paragraph"><p>This option is internaly converted to <code>git version ...</code> and accepts
+the same options as the <a href="git-version.html">git-version(1)</a> command. If <code>--help</code> is
+also given, it takes precedence over <code>--version</code>.</p></div>
</dd>
<dt class="hdlist1">
--help
@@ -3463,6 +3466,19 @@ for full details.</p></div>
<em>key[=value]</em>. Presence of unknown keys and values must be
ignored.
</p>
+<div class="paragraph"><p>Note that servers may need to be configured to allow this variable to
+pass over some transports. It will be propagated automatically when
+accessing local repositories (i.e., <code>file://</code> or a filesystem path), as
+well as over the <code>git://</code> protocol. For git-over-http, it should work
+automatically in most configurations, but see the discussion in
+<a href="git-http-backend.html">git-http-backend(1)</a>. For git-over-ssh, the ssh server may need
+to be configured to allow clients to pass this variable (e.g., by using
+<code>AcceptEnv GIT_PROTOCOL</code> with OpenSSH).</p></div>
+<div class="paragraph"><p>This configuration is optional. If the variable is not propagated, then
+clients will fall back to the original "v0" protocol (but may miss out
+on some performance improvements or features). This variable currently
+only affects clones and fetches; it is not yet used for pushes (but may
+be in the future).</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_OPTIONAL_LOCKS</code>
@@ -3630,7 +3646,7 @@ the Git Security mailing list &lt;<a href="mailto:git-security@googlegroups.com"
<div id="footer">
<div id="footer-text">
Last updated
- 2021-05-06 21:22:01 PDT
+ 2021-09-23 14:33:59 PDT
</div>
</div>
</body>