diff options
| author | Ben Straub <bs@github.com> | 2014-02-04 20:50:40 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2014-02-04 20:50:40 -0800 |
| commit | 010cec3ac26ab8445cc8401fb312f60168916bda (patch) | |
| tree | 813b120670ac04f5c18a5e28546fde36e44ba72c /tests/reset/soft.c | |
| parent | c3ab1e5af4c43d1031969fbb12c559a55c5baf05 (diff) | |
| download | libgit2-010cec3ac26ab8445cc8401fb312f60168916bda.tar.gz | |
Add reflog params to git_repository_detach_head
Diffstat (limited to 'tests/reset/soft.c')
| -rw-r--r-- | tests/reset/soft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reset/soft.c b/tests/reset/soft.c index 6469fce6d..c889c0355 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); + git_repository_detach_head(repo, NULL, NULL); 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)); + cl_git_pass(git_repository_detach_head(repo, NULL, NULL)); 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"); |
