]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rebase--interactive.c
sequencer: always discard index after checkout
[thirdparty/git.git] / builtin / rebase--interactive.c
index 4535523bf53f989759176c550d20d75b5ef7e587..d1a4ac1b844e388a73031ebb7e40a08231a2a267 100644 (file)
@@ -171,7 +171,7 @@ static int do_interactive_rebase(struct replay_opts *opts, unsigned flags,
        struct argv_array make_script_args = ARGV_ARRAY_INIT;
        struct todo_list todo_list = TODO_LIST_INIT;
 
-       if (prepare_branch_to_be_rebased(opts, switch_to))
+       if (prepare_branch_to_be_rebased(the_repository, opts, switch_to))
                return -1;
 
        if (get_revision_ranges(upstream, onto, &head_hash,