libgit2/tests/resources
Patrick Steinhardt b0c9bc920f submodule: resolve URLs relative to main worktree
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.
2017-03-17 09:27:56 +01:00
..
attr
attr_index
bad_tag.git
binaryunicode
blametest.git blame: use size_t for line counts in git_blame_hunk 2015-12-01 09:02:47 +01:00
cherrypick
config
crlf/.gitted
crlf_data
deprecated-mode.git
describe
diff
diff_format_email make git_diff_stats_to_buf not show 0 insertions or 0 deletions 2016-10-09 16:03:00 +01:00
duplicate.git
empty_bare.git
empty_standard_repo/.gitted
filemodes
icase
issue_592
issue_592b
issue_1397
merge-recursive merge: handle conflicts in recursive base building 2015-11-25 15:38:39 -05:00
merge-resolve merge_trees: introduce test for submodule renames 2017-02-09 18:13:06 +00:00
merge-whitespace
mergedrepo
nasty/.gitted
nsecs
partial-testrepo/.gitted
peeled.git
push_src
rebase rebase: test rebasing a new commit with subfolder 2016-06-02 02:38:18 -05:00
rebase-submodule rebase: ignore untracked files in submodules 2017-03-03 15:07:54 -05:00
redundant.git
renames
revert
sha1 hash: test for sha1 collision attack detection 2017-03-03 10:50:28 +00:00
shallow.git
short_tag.git
status tests: use legitimate object ids 2016-02-28 18:54:56 -05:00
sub.git
submod2
submod2_target
submod3 status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
submodule_simple
submodule_with_path submodule: test updating a submodule w/ a path 2015-11-04 16:53:41 -05:00
submodules submodule: resolve URLs relative to main worktree 2017-03-17 09:27:56 +01:00
submodules-worktree-child tests: add submodule worktree test data 2017-02-13 10:13:02 +01:00
submodules-worktree-parent tests: add submodule worktree test data 2017-02-13 10:13:02 +01:00
super
template
testrepo/.gitted tests: add merge-conflict branch for testrepo 2017-02-13 10:13:02 +01:00
testrepo2
testrepo-worktree tests: add worktree test data 2017-02-13 10:13:02 +01:00
testrepo.git tests: fix permissions on testrepo.git index file 2017-02-13 10:34:08 +01:00
twowaymerge.git
typechanges
unsymlinked.git
userdiff
win32-forbidden/.gitted win32: tests around handling forbidden paths 2016-02-17 13:10:33 +00:00
.gitattributes
.gitignore
bad.index
big.index
gitgit.index
push.sh