summaryrefslogtreecommitdiffstats
path: root/git-fast-export.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-01-04 14:31:57 -0800
committerJunio C Hamano <gitster@pobox.com>2019-01-04 14:31:57 -0800
commitde48f457367f37c28229ebe8e6cef849dd6e430a (patch)
treec0e656a1b610026344048379922f2fd2df8d549f /git-fast-export.html
parent2e1a9d9baa0719a5a67da9c049bffc04c23272bd (diff)
downloadgit-htmldocs-de48f457367f37c28229ebe8e6cef849dd6e430a.tar.gz
Autogenerated HTML docs for v2.20.1-98-gecbdaf
Diffstat (limited to 'git-fast-export.html')
-rw-r--r--git-fast-export.html35
1 files changed, 33 insertions, 2 deletions
diff --git a/git-fast-export.html b/git-fast-export.html
index 7e7bc5756..4deb32154 100644
--- a/git-fast-export.html
+++ b/git-fast-export.html
@@ -909,6 +909,35 @@ marks the same across runs.</p></div>
</p>
</dd>
<dt class="hdlist1">
+--reference-excluded-parents
+</dt>
+<dd>
+<p>
+ By default, running a command such as <code>git fast-export
+ master~5..master</code> will not include the commit master&#126;5
+ and will make master&#126;4 no longer have master&#126;5 as
+ a parent (though both the old master&#126;4 and new
+ master&#126;4 will have all the same files). Use
+ --reference-excluded-parents to instead have the the stream
+ refer to commits in the excluded range of history by their
+ sha1sum. Note that the resulting stream can only be used by a
+ repository which already contains the necessary parent
+ commits.
+</p>
+</dd>
+<dt class="hdlist1">
+--show-original-ids
+</dt>
+<dd>
+<p>
+ Add an extra directive to the output for commits and blobs,
+ <code>original-oid &lt;SHA1SUM&gt;</code>. While such directives will likely be
+ ignored by importers such as git-fast-import, it may be useful
+ for intermediary filters (e.g. for rewriting commit messages
+ which refer to older commits, or for stripping blobs by id).
+</p>
+</dd>
+<dt class="hdlist1">
--refspec
</dt>
<dd>
@@ -926,7 +955,9 @@ marks the same across runs.</p></div>
<em>git rev-list</em>, that specifies the specific objects and references
to export. For example, <code>master~10..master</code> causes the
current master reference to be exported along with all objects
- added since its 10th ancestor commit.
+ added since its 10th ancestor commit and (unless the
+ --reference-excluded-parents option is specified) all files
+ common to master&#126;9 and master&#126;10.
</p>
</dd>
</dl></div>
@@ -1031,7 +1062,7 @@ a tag referencing a tree instead of a commit.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2018-06-01 16:13:01 JST
+ 2019-01-04 14:31:36 PST
</div>
</div>
</body>