t / perf / p7000-filter-branch.shon commit submodule sync: skip work for inactive submodules (e7849a9)
   1#!/bin/sh
   2
   3test_description='performance of filter-branch'
   4. ./perf-lib.sh
   5
   6test_perf_default_repo
   7test_checkout_worktree
   8
   9test_expect_success 'mark bases for tests' '
  10        git tag -f tip &&
  11        git tag -f base HEAD~100
  12'
  13
  14test_perf 'noop filter' '
  15        git checkout --detach tip &&
  16        git filter-branch -f base..HEAD
  17'
  18
  19test_done