#!/bin/sh test_description='Tests rebase performance' . ./perf-lib.sh test_perf_default_repo test_expect_success 'setup rebasing on top of a lot of changes' ' git checkout -f -B base && git checkout -B to-rebase && git checkout -B upstream && test_seq 1000 >content_fwd && sort -nr content_fwd >content_rev && ( for i in $(test_seq 100) do test_tick && echo "commit refs/heads/upstream" && echo "committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE" && echo "data < $GIT_COMMITTER_DATE" && echo "data <fast_import_stream && git fast-import