3 test_description
='git-filter-branch'
7 lower
=$
(echo $1 |
tr A-Z a-z
)
14 test_expect_success
'setup' '
17 git checkout -b branch B
31 test_expect_success
'rewrite identically' '
35 test_expect_success
'result is really identical' '
36 test $H = $(git-rev-parse H2)
39 test_expect_success
'rewrite, renaming a specific file' '
40 git-filter-branch --tree-filter "mv d doh || :" H3
43 test_expect_success
'test that the file was renamed' '
44 test d = $(git show H3:doh)