summaryrefslogtreecommitdiff
path: root/tests/status/submodules.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/status/submodules.c')
-rw-r--r--tests/status/submodules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/status/submodules.c b/tests/status/submodules.c
index 7056c15ab..e6de60088 100644
--- a/tests/status/submodules.c
+++ b/tests/status/submodules.c
@@ -143,7 +143,7 @@ void test_status_submodules__moved_head(void)
/* move submodule HEAD to c47800c7266a2be04c571c04d5a6614691ea99bd */
cl_git_pass(
git_oid_fromstr(&oid, "c47800c7266a2be04c571c04d5a6614691ea99bd"));
- cl_git_pass(git_repository_set_head_detached(smrepo, &oid, NULL));
+ cl_git_pass(git_repository_set_head_detached(smrepo, &oid));
/* first do a normal status, which should now include the submodule */