repo.or.cz
/
git
/
gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
filter-branch: skip index read/write when possible
[git/gitweb.git]
/
t
/
perf
/
p7000-filter-branch.sh
blob
15ee5d1d53391f38017cfd26bd23d94082a47365
1
#!/bin/sh
2
3
test_description
=
'performance of filter-branch'
4
. .
/
perf-lib.sh
5
6
test_perf_default_repo
7
test_checkout_worktree
8
9
test_expect_success
'mark bases for tests'
'
10
git tag -f tip &&
11
git tag -f base HEAD~100
12
'
13
14
test_perf
'noop filter'
'
15
git checkout --detach tip &&
16
git filter-branch -f base..HEAD
17
'
18
19
test_done