clone_submodule: avoid using `access()` on directories
[git.git] / t / lib-t3100.sh
blobeabb5fd8034955d1e99b639d2f393f3b986cc7d7
1 #!/bin/sh
3 setup_basic_ls_tree_data () {
4 mkdir dir &&
5 test_commit dir/sub-file &&
6 test_commit top-file &&
7 git clone . submodule &&
8 git submodule add ./submodule &&
9 git commit -m"add submodule"