diff options
| author | Ben Straub <bs@github.com> | 2014-01-25 08:04:49 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2014-01-30 15:51:00 -0800 |
| commit | 94f263f59be5be74945367b9793c57f297ed4a44 (patch) | |
| tree | 18c713d67936fcb23f86794684757dbf01141f21 /tests/status | |
| parent | 8646b0a0689c89d9cad949754885ec542b4d0ce1 (diff) | |
| download | libgit2-94f263f59be5be74945367b9793c57f297ed4a44.tar.gz | |
Add reflog params to set-head calls
Diffstat (limited to 'tests/status')
| -rw-r--r-- | tests/status/submodules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/status/submodules.c b/tests/status/submodules.c index dc7990cf1..80ff162fd 100644 --- a/tests/status/submodules.c +++ b/tests/status/submodules.c @@ -140,7 +140,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)); + cl_git_pass(git_repository_set_head_detached(smrepo, &oid, NULL, NULL)); /* first do a normal status, which should now include the submodule */ |
