summaryrefslogtreecommitdiff
path: root/tests/reset/soft.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reset/soft.c')
-rw-r--r--tests/reset/soft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reset/soft.c b/tests/reset/soft.c
index f7ae59b3e..a5bb13cc8 100644
--- a/tests/reset/soft.c
+++ b/tests/reset/soft.c
@@ -45,7 +45,7 @@ void test_reset_soft__can_reset_the_non_detached_Head_to_the_specified_commit(vo
void test_reset_soft__can_reset_the_detached_Head_to_the_specified_commit(void)
{
- git_repository_detach_head(repo, NULL);
+ git_repository_detach_head(repo);
assert_reset_soft(true);
}
@@ -118,7 +118,7 @@ void test_reset_soft__fails_when_merging(void)
{
git_buf merge_head_path = GIT_BUF_INIT;
- cl_git_pass(git_repository_detach_head(repo, NULL));
+ cl_git_pass(git_repository_detach_head(repo));
cl_git_pass(git_buf_joinpath(&merge_head_path, git_repository_path(repo), "MERGE_HEAD"));
cl_git_mkfile(git_buf_cstr(&merge_head_path), "beefbeefbeefbeefbeefbeefbeefbeefbeefbeef\n");