diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-07 18:07:26 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-03-07 18:07:26 -0500 |
commit | e8438420bb7d368bec3647b90c557b9931582267 (patch) | |
tree | 6a5737f68624bc073e8bea3c7de8914d481b4bd3 /Documentation/git-fast-import.txt | |
parent | 60b9004cdb106ce56589cbe587b6b5e7d6ad3cf9 (diff) | |
download | git-e8438420bb7d368bec3647b90c557b9931582267.tar.gz |
Allow fast-import frontends to reload the marks table
I'm giving fast-import a lesson on how to reload the marks table
using the same format it outputs with --export-marks. This way
a frontend can reload the marks table from a prior import, making
incremental imports less painful.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation/git-fast-import.txt')
-rw-r--r-- | Documentation/git-fast-import.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index 77a14bb076..7e3d2b1a96 100644 --- a/Documentation/git-fast-import.txt +++ b/Documentation/git-fast-import.txt @@ -62,7 +62,18 @@ OPTIONS Dumps the internal marks table to <file> when complete. Marks are written one per line as `:markid SHA-1`. Frontends can use this file to validate imports after they - have been completed. + have been completed, or to save the marks table across + incremental runs. As <file> is only opened and truncated + at checkpoint (or completion) the same path can also be + safely given to \--import-marks. + +--import-marks=<file>:: + Before processing any input, load the marks specified in + <file>. The input file must exist, must be readable, and + must use the same format as produced by \--export-marks. + Multiple options may be supplied to import more than one + set of marks. If a mark is defined to different values, + the last file wins. --export-pack-edges=<file>:: After creating a packfile, print a line of data to |