We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e19a7f commit 2dc5485Copy full SHA for 2dc5485
tests/worktree/repository.c
@@ -27,6 +27,7 @@ void test_worktree_repository__head(void)
27
cl_git_pass(git_reference_lookup(&ref, fixture.repo, "refs/heads/testrepo-worktree"));
28
cl_git_pass(git_repository_head_for_worktree(&head, fixture.repo, "testrepo-worktree"));
29
cl_assert(git_reference_cmp(ref, head) == 0);
30
+ cl_assert(git_reference_owner(ref) == fixture.repo);
31
32
git_reference_free(ref);
33
git_reference_free(head);
0 commit comments