3 # Copyright (c) 2006 Junio C Hamano
6 test_description
='git read-tree --prefix test.
9 TEST_PASSES_SANITIZE_LEAK
=true
12 test_expect_success setup
'
14 git update-index --add one &&
15 tree=$(git write-tree) &&
22 test_expect_success
'read-tree --prefix' '
23 git read-tree --prefix=two/ $tree &&
24 git ls-files >actual &&