#!/bin/sh test_description='test git fast-import unpack limit' . ./test-lib.sh test_expect_success 'create loose objects on import' ' test_tick && cat >input <<-INPUT_END && commit refs/heads/master committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <<-INPUT_END && commit refs/heads/master committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data < $GIT_COMMITTER_DATE data <&2 "checkpoint did not update branch" exit 1 else n=$(($n + 1)) fi && sleep 1 && from=$(git rev-parse refs/heads/master^0) done && cat <<-INPUT_END && commit refs/heads/master committer $id data <