]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-fast-export.txt
fast-export: add a --show-original-ids option to show original names
[thirdparty/git.git] / Documentation / git-fast-export.txt
index f65026662af8b332b6f3e9383c68c0c987992a05..64c01ba91884df1ec8e49ddc8fe852f1fb2a9425 100644 (file)
@@ -122,6 +122,13 @@ marks the same across runs.
        repository which already contains the necessary parent
        commits.
 
+--show-original-ids::
+       Add an extra directive to the output for commits and blobs,
+       `original-oid <SHA1SUM>`.  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).
+
 --refspec::
        Apply the specified refspec to each ref exported. Multiple of them can
        be specified.