summaryrefslogtreecommitdiffstats
path: root/git-fast-import.txt
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-import.txt
parent2e1a9d9baa0719a5a67da9c049bffc04c23272bd (diff)
downloadgit-htmldocs-de48f457367f37c28229ebe8e6cef849dd6e430a.tar.gz
Autogenerated HTML docs for v2.20.1-98-gecbdaf
Diffstat (limited to 'git-fast-import.txt')
-rw-r--r--git-fast-import.txt23
1 files changed, 20 insertions, 3 deletions
diff --git a/git-fast-import.txt b/git-fast-import.txt
index e81117d27..43ab3b163 100644
--- a/git-fast-import.txt
+++ b/git-fast-import.txt
@@ -40,9 +40,10 @@ OPTIONS
not contain the old commit).
--quiet::
- Disable all non-fatal output, making fast-import silent when it
- is successful. This option disables the output shown by
- --stats.
+ Disable the output shown by --stats, making fast-import usually
+ be silent when it is successful. However, if the import stream
+ has directives intended to show user output (e.g. `progress`
+ directives), the corresponding messages will still be shown.
--stats::
Display some basic statistics about the objects fast-import has
@@ -384,6 +385,7 @@ change to the project.
....
'commit' SP <ref> LF
mark?
+ original-oid?
('author' (SP <name>)? SP LT <email> GT SP <when> LF)?
'committer' (SP <name>)? SP LT <email> GT SP <when> LF
data
@@ -740,6 +742,19 @@ New marks are created automatically. Existing marks can be moved
to another object simply by reusing the same `<idnum>` in another
`mark` command.
+`original-oid`
+~~~~~~~~~~~~~~
+Provides the name of the object in the original source control system.
+fast-import will simply ignore this directive, but filter processes
+which operate on and modify the stream before feeding to fast-import
+may have uses for this information
+
+....
+ 'original-oid' SP <object-identifier> LF
+....
+
+where `<object-identifer>` is any string not containing LF.
+
`tag`
~~~~~
Creates an annotated tag referring to a specific commit. To create
@@ -748,6 +763,7 @@ lightweight (non-annotated) tags see the `reset` command below.
....
'tag' SP <name> LF
'from' SP <commit-ish> LF
+ original-oid?
'tagger' (SP <name>)? SP LT <email> GT SP <when> LF
data
....
@@ -822,6 +838,7 @@ assigned mark.
....
'blob' LF
mark?
+ original-oid?
data
....