git-filter-repo/t/t9390/unusual
Elijah Newren e913ccbe8d filter-repo: add coverage for some corner cases and unusual constructs
There are a number of things not present in "normal" imports that we
nevertheless support and need to be tested:
  * broken timezone adjustment (+051800->+0261; observed in the wild
    in real repos, and adjustment prevents fast-import from dying)
  * commits missing an author (observed in the wild in a real repo;
    just sets author to committer)
  * optional additional linefeeds in the input allowed by
    git-fast-import but usually not written by git-fast-export
  * progress and checkpoint objects
  * progress, checkpoint, and 'everything' callbacks

Signed-off-by: Elijah Newren <newren@gmail.com>
2019-04-29 09:56:38 -07:00

36 lines
780 B
Plaintext

option git quiet
feature done
# Input in a format filter-repo isn't generally expected to receive (either
# because we don't pass certain flags to fast-export or repos don't have the
# weird features or whatever other reason), but which we want to test for
# completeness.
progress I am starting the import, yo.
checkpoint
blob
mark :1
original-oid 0000000000000000000000000000000000000001
data 5
hello
commit refs/heads/master
mark :2
original-oid 0000000000000000000000000000000000000002
committer Srinivasa Ramanujan <fellow@cambridge.org> 1535228562 +051800
data 8
Initial
M 100644 :1 greeting
reset refs/heads/develop
from :2
tag v1.0
from :2
original-oid 0000000000000000000000000000000000000003
tagger Little John <second@merry.men> 1535229618 -0700
data 4
v1.0
done