libgit2/tests/worktree
Patrick Steinhardt 04fb12abb2 worktree: implement functions reading HEAD
Implement `git_repository_head_for_worktree` and
`git_repository_head_detached_for_worktree` for directly accessing a
worktree's HEAD without opening it as a `git_repository` first.
2017-02-13 11:03:01 +01:00
..
config.c config: open configuration in commondir 2017-02-13 10:28:15 +01:00
open.c repository: introduce is_worktree variable 2017-02-13 10:28:15 +01:00
reflog.c refdb: look for reflog in commondir 2017-02-13 10:28:15 +01:00
refs.c refdb: introduce commondir awareness 2017-02-13 10:28:15 +01:00
repository.c worktree: implement functions reading HEAD 2017-02-13 11:03:01 +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: implement functions reading HEAD 2017-02-13 11:03:01 +01:00