summaryrefslogtreecommitdiff
path: root/tests/rebase/abort.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-17 11:47:16 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-04-20 16:22:49 -0400
commit5ae38538c6dd88cca058fac1b84e29df4fed60e4 (patch)
tree2d8290d9185618af3c16791278ed6d029bf31cad /tests/rebase/abort.c
parent649834fd6edd5ee2f7cb3e791081b2d57a4d7c41 (diff)
downloadlibgit2-5ae38538c6dd88cca058fac1b84e29df4fed60e4.tar.gz
rebase: take `checkout_options` where appropriate
Diffstat (limited to 'tests/rebase/abort.c')
-rw-r--r--tests/rebase/abort.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rebase/abort.c b/tests/rebase/abort.c
index 24af2d140..a04a34b5c 100644
--- a/tests/rebase/abort.c
+++ b/tests/rebase/abort.c
@@ -28,7 +28,7 @@ static void test_abort(git_annotated_commit *branch, git_annotated_commit *onto)
const git_reflog_entry *reflog_entry;
cl_git_pass(git_rebase_open(&rebase, repo));
- cl_git_pass(git_rebase_abort(rebase));
+ cl_git_pass(git_rebase_abort(rebase, NULL));
cl_assert_equal_i(GIT_REPOSITORY_STATE_NONE, git_repository_state(repo));
@@ -73,7 +73,7 @@ void test_rebase_abort__merge(void)
cl_git_pass(git_annotated_commit_from_ref(&branch_head, repo, branch_ref));
cl_git_pass(git_annotated_commit_from_ref(&onto_head, repo, onto_ref));
- cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL));
+ cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL, NULL));
cl_assert_equal_i(GIT_REPOSITORY_STATE_REBASE_MERGE, git_repository_state(repo));
test_abort(branch_head, onto_head);
@@ -102,7 +102,7 @@ void test_rebase_abort__detached_head(void)
cl_git_pass(git_signature_new(&signature, "Rebaser", "rebaser@example.com", 1404157834, -400));
- cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL));
+ cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL, NULL));
cl_assert_equal_i(GIT_REPOSITORY_STATE_REBASE_MERGE, git_repository_state(repo));
test_abort(branch_head, onto_head);
@@ -131,7 +131,7 @@ void test_rebase_abort__old_style_head_file(void)
cl_git_pass(git_signature_new(&signature, "Rebaser", "rebaser@example.com", 1404157834, -400));
- cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL));
+ cl_git_pass(git_rebase_init(&rebase, repo, branch_head, NULL, onto_head, NULL, NULL));
cl_assert_equal_i(GIT_REPOSITORY_STATE_REBASE_MERGE, git_repository_state(repo));
p_rename("rebase-merge/.git/rebase-merge/orig-head",