libgit2/tests/worktree
Patrick Steinhardt 3017ba94a3 worktree: implement git_worktree_open_from_repository
While we already provide functionality to look up a worktree from a
repository, we cannot do so the other way round. That is given a
repository, we want to look up its worktree if it actually exists.
Getting the worktree of a repository is useful when we want to get
certain meta information like the parent's location, getting the locked
status, etc.
2017-03-17 09:26:13 +01:00
..
config.c config: open configuration in commondir 2017-02-13 10:28:15 +01:00
merge.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
open.c worktree: implement git_worktree_open_from_repository 2017-03-17 09:26:13 +01:00
reflog.c refdb: look for reflog in commondir 2017-02-13 10:28:15 +01:00
refs.c repository: restrict checking out checked out branches 2017-02-13 11:06:52 +01:00
repository.c worktree: implement functions reading HEAD 2017-02-13 11:03:01 +01:00
submodule.c tests: worktree: unify init/cleanup in submodule tests 2017-03-15 12:28:05 +01:00
worktree_helpers.c tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree_helpers.h tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree.c tests: worktree: use joinpath instead of printf to join paths 2017-03-15 17:16:47 +01:00