repository.c
1.73 KB
-
worktree: implement functions reading HEAD · 04fb12ab
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.
Patrick Steinhardt committed