diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-08 02:07:26 +0300 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-03-08 02:07:26 +0300 |
commit | e8438420bb7d368bec3647b90c557b9931582267 (patch) | |
tree | 6a5737f68624bc073e8bea3c7de8914d481b4bd3 /t/t9300-fast-import.sh | |
parent | 60b9004cdb106ce56589cbe587b6b5e7d6ad3cf9 (diff) |
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 't/t9300-fast-import.sh')
-rwxr-xr-x | t/t9300-fast-import.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 970d683650..2e1a09ff2d 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -111,6 +111,14 @@ test_expect_success \ 'A: verify marks output' \ 'diff -u expect marks.out' +test_expect_success \ + 'A: verify marks import' \ + 'git-fast-import \ + --import-marks=marks.out \ + --export-marks=marks.new \ + </dev/null && + diff -u expect marks.new' + ### ### series B ### |