diff options
Diffstat (limited to 'tests/cherrypick')
-rw-r--r-- | tests/cherrypick/workdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cherrypick/workdir.c b/tests/cherrypick/workdir.c index e43bb0807..8f6644996 100644 --- a/tests/cherrypick/workdir.c +++ b/tests/cherrypick/workdir.c @@ -370,7 +370,7 @@ void test_cherrypick_workdir__nonmerge_fails_mainline_specified(void) git_cherrypick_options opts = GIT_CHERRYPICK_OPTIONS_INIT; cl_git_pass(git_repository_head(&head, repo)); - cl_git_pass(git_reference_peel((git_object **)&commit, head, GIT_OBJ_COMMIT)); + cl_git_pass(git_reference_peel((git_object **)&commit, head, GIT_OBJECT_COMMIT)); opts.mainline = 1; cl_must_fail(git_cherrypick(repo, commit, &opts)); |