summaryrefslogtreecommitdiff
path: root/src/libgit2/submodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Use `git_clone__submodule` to avoid file checks in workdirAleš Bizjak2023-01-051-1/+1
| | | | | | | `git_clone` checks for existence of (non-empty) directories that would clash with what is about to be cloned. This is problematic when cloning submodules since they make sense in the context of a parent module, so they should not use the current working dir. Since in `git_submodule_update` we clone the submodule only when it is not yet initialized we do not need to perform directory checks.
* submodule: Do not try to update a missing submoduletagesuhu2022-11-251-1/+5
| | | | | If a submodule has been configured but not yet added, do not try to update it. Issue #6433: git_submodule_update fails to update configured but missing submodule
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+2380