3 test_description
='git-mv in subdirs'
7 'prepare reference tree' \
9 cp ../../COPYING path0/COPYING &&
10 git-add path0/COPYING &&
15 'cd path0 && git-mv COPYING ../path1/COPYING'
19 'commiting the change' \
20 'cd .. && git-commit -m move -a'
23 'checking the commit' \
24 'git-diff-tree -r -M --name-status HEAD^ HEAD | \
25 grep -E "^R100.+path0/COPYING.+path1/COPYING"'