diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-03-26 18:15:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-26 18:15:03 -0700 |
commit | 1291d1a1ed65a3d56c1c3dae7e3d1770eeba618c (patch) | |
tree | f226feddd6d36e361726b8e4de69d41eab341d28 /git-fast-import.html | |
parent | 357906b72afda4a1350f2cda79d502d04e2a5f3a (diff) | |
download | git-htmldocs-1291d1a1ed65a3d56c1c3dae7e3d1770eeba618c.tar.gz |
Autogenerated HTML docs for v2.26.0-103-g3bab5
Diffstat (limited to 'git-fast-import.html')
-rw-r--r-- | git-fast-import.html | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/git-fast-import.html b/git-fast-import.html index 2f137d18b..779e65163 100644 --- a/git-fast-import.html +++ b/git-fast-import.html @@ -927,6 +927,33 @@ already trusted to run their own code.</code></pre> </dl></div>
</div>
<div class="sect2">
+<h3 id="_submodule_rewriting">Submodule Rewriting</h3>
+<div class="dlist"><dl>
+<dt class="hdlist1">
+--rewrite-submodules-from=<name>:<file>
+</dt>
+<dt class="hdlist1">
+--rewrite-submodules-to=<name>:<file>
+</dt>
+<dd>
+<p>
+ Rewrite the object IDs for the submodule specified by <name> from the values
+ used in the from <file> to those used in the to <file>. The from marks should
+ have been created by <code>git fast-export</code>, and the to marks should have been
+ created by <code>git fast-import</code> when importing that same submodule.
+</p>
+<div class="paragraph"><p><name> may be any arbitrary string not containing a colon character, but the
+same value must be used with both options when specifying corresponding marks.
+Multiple submodules may be specified with different values for <name>. It is an
+error not to use these options in corresponding pairs.</p></div>
+<div class="paragraph"><p>These options are primarily useful when converting a repository from one hash
+algorithm to another; without them, fast-import will fail if it encounters a
+submodule because it has no way of writing the object ID into the new hash
+algorithm.</p></div>
+</dd>
+</dl></div>
+</div>
+<div class="sect2">
<h3 id="_performance_and_compression_tuning">Performance and Compression Tuning</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
@@ -2577,7 +2604,7 @@ compression.</p></div> <div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 08:03:13 PDT
+ 2020-03-26 18:10:39 PDT
</div>
</div>
</body>
|