sequencer: future-proof read_populate_todo()
commitc0246501ed02c3bd1baa0953d5a46a874edc171e
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 21 Oct 2016 12:24:32 +0000 (21 14:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2016 16:32:34 +0000 (21 09:32 -0700)
treed32b413e5e145d8213fcc3beb433f377515fa40d
parent03a4e260e2bf4eebd7ea6658d24507fbf80f3ecd
sequencer: future-proof read_populate_todo()

Over the next commits, we will work on improving the sequencer to the
point where it can process the todo script of an interactive rebase. To
that end, we will need to teach the sequencer to read interactive
rebase's todo file. In preparation, we consolidate all places where
that todo file is needed to call a function that we will later extend.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c