3 test_description='test read-tree into a fresh index file'
5 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
6 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
10 test_expect_success setup '
16 test_expect_success 'non-existent index file' '
18 GIT_INDEX_FILE=new-index git read-tree main
21 test_expect_success 'empty index file' '
24 GIT_INDEX_FILE=new-index git read-tree main