summaryrefslogtreecommitdiffstats
path: root/git-fast-import.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 06:09:04 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-10 06:09:04 -0800
commit59e8824741436987ea088ff1f3c7c82d6fe48fc9 (patch)
tree8785c93dea7f5d8615b48ad80656321047745bd4 /git-fast-import.html
parentb3f862c5e7e19d0ae8abc32492356ff7d1578110 (diff)
downloadgit-htmldocs-59e8824741436987ea088ff1f3c7c82d6fe48fc9.tar.gz
Autogenerated HTML docs for v2.24.1-425-g7034c
Diffstat (limited to 'git-fast-import.html')
-rw-r--r--git-fast-import.html24
1 files changed, 23 insertions, 1 deletions
diff --git a/git-fast-import.html b/git-fast-import.html
index f1d4537a1..7eecba87c 100644
--- a/git-fast-import.html
+++ b/git-fast-import.html
@@ -809,6 +809,28 @@ the frontend program in use.</p></div>
is currently the default, but can be disabled with --quiet.
</p>
</dd>
+<dt class="hdlist1">
+--allow-unsafe-features
+</dt>
+<dd>
+<p>
+ Many command-line options can be provided as part of the
+ fast-import stream itself by using the <code>feature</code> or <code>option</code>
+ commands. However, some of these options are unsafe (e.g.,
+ allowing fast-import to access the filesystem outside of the
+ repository). These options are disabled by default, but can be
+ allowed by providing this option on the command line. This
+ currently impacts only the <code>export-marks</code>, <code>import-marks</code>, and
+ <code>import-marks-if-exists</code> feature commands.
+</p>
+<div class="literalblock">
+<div class="content">
+<pre><code>Only enable this option if you trust the program generating the
+fast-import stream! This option is enabled automatically for
+remote-helpers that use the `import` capability, as they are
+already trusted to run their own code.</code></pre>
+</div></div>
+</dd>
</dl></div>
<div class="sect2">
<h3 id="_options_for_frontends">Options for Frontends</h3>
@@ -2555,7 +2577,7 @@ compression.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-10-14 22:20:15 PDT
+ 2019-12-10 06:06:15 PST
</div>
</div>
</body>