libgit2/tests/worktree
Patrick Steinhardt 097f0105b4 refdb: create references in commondir
References for a repository are usually created inside of its gitdir.
When using worktrees, though, these references are not to be created
inside the worktree gitdir, but instead inside the gitdir of its parent
repository, which is the commondir. Like this, branches will still be
available after the worktree itself has been deleted.

The filesystem refdb currently still creates new references inside of
the gitdir. Fix this and have it create references in commondir.
2017-03-17 09:27:56 +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 refdb: create references in commondir 2017-03-17 09:27:56 +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 worktree: write resolved paths into link files 2017-03-17 09:27:56 +01:00