summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-10-17 13:32:22 +0200
committerPatrick Steinhardt <ps@pks.im>2019-10-17 13:35:30 +0200
commit09b1ac11b4ad53a9a0e7e3a2dc2cdfe4614186ea (patch)
tree7c01645d4a289205e5e223399d2420005b457fa2 /src/commit.c
parent3c5d78bd7ed1ece63409a6f1f7e6d5f216fcfc7b (diff)
downloadlibgit2-09b1ac11b4ad53a9a0e7e3a2dc2cdfe4614186ea.tar.gz
tests: submodule: fix tests for cloning submodules
The test submodule::add::homemade_clone unfortunately doesn't test what's expected, but does instead clone the submodule to a directory that is outside of the parent repository. Fixing this by cloning to the correct location isn't possible, though, as `git_submodule_add_setup` will have pre-created a ".git" file already, which will cause `git_clone` to error out. As it's not possible to perform the clone without fiddling around with the repo's layout, let's just remove this test as that is in fact what the new `git_submodule_clone` function is for.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions