]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-fast-import.txt
Sync with 2.17.3
[thirdparty/git.git] / Documentation / git-fast-import.txt
index e81117d27f477591b92480352731fb0c4faf3410..9e3b9581d76d7e7146423d857f27f1067710b580 100644 (file)
@@ -50,6 +50,21 @@ OPTIONS
        memory used by fast-import during this run.  Showing this output
        is currently the default, but can be disabled with --quiet.
 
+--allow-unsafe-features::
+       Many command-line options can be provided as part of the
+       fast-import stream itself by using the `feature` or `option`
+       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 `export-marks`, `import-marks`, and
+       `import-marks-if-exists` feature commands.
++
+       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.
+
 Options for Frontends
 ~~~~~~~~~~~~~~~~~~~~~