rebase--interactive: move transform_todo_file()
As transform_todo_file() is only needed inside of rebase--interactive.c for `rebase -p', it is moved there from sequencer.c. The parameter r (repository) is dropped along the way. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
1451d0f616
commit
ed35d18841
@ -143,7 +143,6 @@ int sequencer_remove_state(struct replay_opts *opts);
|
||||
int sequencer_make_script(struct repository *r, struct strbuf *out, int argc,
|
||||
const char **argv, unsigned flags);
|
||||
|
||||
int transform_todo_file(struct repository *r, unsigned flags);
|
||||
void todo_list_add_exec_commands(struct todo_list *todo_list,
|
||||
struct string_list *commands);
|
||||
int check_todo_list_from_file(struct repository *r);
|
||||
|
Reference in New Issue
Block a user