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