diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-01-25 15:32:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-25 15:32:33 -0800 |
commit | 7887f9b4eb248358cc8e6937ceb87b9f072ce9e5 (patch) | |
tree | d5670ef418f9f7d4a5780ee5d3d01696abb477aa /git.html | |
parent | d5cfc8f5a014ca40c71c8355aa37074cc885297e (diff) | |
download | git-htmldocs-7887f9b4eb248358cc8e6937ceb87b9f072ce9e5.tar.gz |
Autogenerated HTML docs for v2.30.0-335-ge63628
Diffstat (limited to 'git.html')
-rw-r--r-- | git.html | 39 |
1 files changed, 36 insertions, 3 deletions
@@ -753,7 +753,7 @@ git(1) Manual Page [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
- [--super-prefix=<path>]
+ [--super-prefix=<path>] [--config-env <name>=<envvar>]
<command> [<args>]</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=<name>=<envvar>
+</dt>
+<dd>
+<p>
+ Like <code>-c <name>=<value></code>, give configuration variable
+ <em><name></em> a value, where <envvar> 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><envvar></code> does not exist
+ in the environment. <code><envvar></code> may not contain an equals sign
+ to avoid ambiguity with `<name>`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’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.<base>.insteadOf</code> where the
+sensitive information can be part of the key.</p></div>
+</dd>
+<dt class="hdlist1">
--exec-path[=<path>]
</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 <<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>
|