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