summaryrefslogtreecommitdiff
path: root/tests/rebase/submodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rebase/submodule.c')
-rw-r--r--tests/rebase/submodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rebase/submodule.c b/tests/rebase/submodule.c
index 5aa9ceb37..a28b3f4b2 100644
--- a/tests/rebase/submodule.c
+++ b/tests/rebase/submodule.c
@@ -44,7 +44,7 @@ void test_rebase_submodule__initialize(void)
cl_git_pass(git_commit_create_v(&commit_id, repo, git_reference_name(master_ref), signature, signature, NULL, "Fixup .gitmodules", tree, 1, parent));
/* And a final reset, for good measure */
- cl_git_pass(git_object_lookup(&obj, repo, &commit_id, GIT_OBJ_COMMIT));
+ cl_git_pass(git_object_lookup(&obj, repo, &commit_id, GIT_OBJECT_COMMIT));
cl_git_pass(git_reset(repo, obj, GIT_RESET_HARD, &opts));
git_index_free(index);