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.
Showing
tests/worktree/repository.c
0 → 100644
Please
register
or
sign in
to comment