summaryrefslogtreecommitdiffstats
path: root/git.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-01-25 15:32:33 -0800
committerJunio C Hamano <gitster@pobox.com>2021-01-25 15:32:33 -0800
commit7887f9b4eb248358cc8e6937ceb87b9f072ce9e5 (patch)
treed5670ef418f9f7d4a5780ee5d3d01696abb477aa /git.html
parentd5cfc8f5a014ca40c71c8355aa37074cc885297e (diff)
downloadgit-htmldocs-7887f9b4eb248358cc8e6937ceb87b9f072ce9e5.tar.gz
Autogenerated HTML docs for v2.30.0-335-ge63628
Diffstat (limited to 'git.html')
-rw-r--r--git.html39
1 files changed, 36 insertions, 3 deletions
diff --git a/git.html b/git.html
index 09d844c46..68b05a8b5 100644
--- a/git.html
+++ b/git.html
@@ -753,7 +753,7 @@ git(1) Manual Page
[--exec-path[=&lt;path&gt;]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;]
- [--super-prefix=&lt;path&gt;]
+ [--super-prefix=&lt;path&gt;] [--config-env &lt;name&gt;=&lt;envvar&gt;]
&lt;command&gt; [&lt;args&gt;]</pre>
<div class="attribution">
</div></div>
@@ -843,6 +843,31 @@ foo.bar= ...</code>) sets <code>foo.bar</code> to the empty string which <code>g
--type=bool</code> will convert to <code>false</code>.</p></div>
</dd>
<dt class="hdlist1">
+--config-env=&lt;name&gt;=&lt;envvar&gt;
+</dt>
+<dd>
+<p>
+ Like <code>-c &lt;name&gt;=&lt;value&gt;</code>, give configuration variable
+ <em>&lt;name&gt;</em> a value, where &lt;envvar&gt; is the name of an
+ environment variable from which to retrieve the value. Unlike
+ <code>-c</code> there is no shortcut for directly setting the value to an
+ empty string, instead the environment variable itself must be
+ set to the empty string. It is an error if the <code>&lt;envvar&gt;</code> does not exist
+ in the environment. <code>&lt;envvar&gt;</code> may not contain an equals sign
+ to avoid ambiguity with `&lt;name&gt;`s which contain one.
+</p>
+<div class="paragraph"><p>This is useful for cases where you want to pass transitory
+configuration options to git, but are doing so on OS&#8217;s where
+other processes might be able to read your cmdline
+(e.g. <code>/proc/self/cmdline</code>), but not your environ
+(e.g. <code>/proc/self/environ</code>). That behavior is the default on
+Linux, but may not be on your system.</p></div>
+<div class="paragraph"><p>Note that this might add security for variables such as
+<code>http.extraHeader</code> where the sensitive information is part of
+the value, but not e.g. <code>url.&lt;base&gt;.insteadOf</code> where the
+sensitive information can be part of the key.</p></div>
+</dd>
+<dt class="hdlist1">
--exec-path[=&lt;path&gt;]
</dt>
<dd>
@@ -1835,7 +1860,7 @@ repositories.</p></div>
</dt>
<dd>
<p>
- Creates a tag object.
+ Creates a tag object with extra validation.
</p>
</dd>
<dt class="hdlist1">
@@ -2431,6 +2456,14 @@ users typically do not use them directly.</p></div>
</p>
</dd>
<dt class="hdlist1">
+<a href="gitmailmap.html">gitmailmap(5)</a>
+</dt>
+<dd>
+<p>
+ Map author/committer names and/or E-Mail addresses.
+</p>
+</dd>
+<dt class="hdlist1">
<a href="gitmodules.html">gitmodules(5)</a>
</dt>
<dd>
@@ -3580,7 +3613,7 @@ the Git Security mailing list &lt;<a href="mailto:git-security@googlegroups.com"
<div id="footer">
<div id="footer-text">
Last updated
- 2020-12-27 18:39:48 PST
+ 2021-01-25 15:29:19 PST
</div>
</div>
</body>