sequencer.c: remove implicit dependency on the_index
[gitweb.git] / builtin / revert.c
index c93393c89be0290ebd9e300046ff56a2ee441715..cd9f0681954db901bf1b703f623525c02b005b48 100644 (file)
@@ -199,10 +199,10 @@ static int run_sequencer(int argc, const char **argv, struct replay_opts *opts)
                return ret;
        }
        if (cmd == 'c')
-               return sequencer_continue(opts);
+               return sequencer_continue(the_repository, opts);
        if (cmd == 'a')
                return sequencer_rollback(opts);
-       return sequencer_pick_revisions(opts);
+       return sequencer_pick_revisions(the_repository, opts);
 }
 
 int cmd_revert(int argc, const char **argv, const char *prefix)