summaryrefslogtreecommitdiff
path: root/tests/resources/submodules
Commit message (Collapse)AuthorAgeFilesLines
* submodule: resolve URLs relative to main worktreePatrick Steinhardt2017-03-171-3/+0
| | | | | | | | | | | | | | | It is possible to specify submodule URLs relative to the repository location. E.g. having a submodule with URL "../submodule" will look for the submodule at "repo/../submodule". With the introduction of worktrees, though, we cannot simply resolve the URL relative to the repository location itself. If the repository for which a URL is to be resolved is a working tree, we have to resolve the URL relative to the parent's repository path. Otherwise, the URL would change depending on where the working tree is located. Fix this by special-casing when we have a working tree while getting the URL base.
* tests: add submodule worktree test dataPatrick Steinhardt2017-02-1314-0/+12
| | | | | | Create worktrees for submodule repositories. The worktrees are created for the parent repository (e.g. the one containing submodules) and for the contained child repository.
* Rename tests-clar to testsBen Straub2013-11-1478-0/+105