diff options
author | Alban Gruin <alban.gruin@gmail.com> | 2019-03-05 20:17:58 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:17:57 +0900 |
commit | 1ba204de6924b171024638bb5f3f405a0e0946d0 (patch) | |
tree | 90aa5c5b4996fe59509e93e0672e0137f0efb4fb /sequencer.h | |
parent | 94bcad797966b6a3490bc6806d3ee3eed54da9d9 (diff) | |
download | git-1ba204de6924b171024638bb5f3f405a0e0946d0.tar.gz |
rebase--interactive: move sequencer_add_exec_commands()
As sequencer_add_exec_commands() 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>
Diffstat (limited to 'sequencer.h')
-rw-r--r-- | sequencer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sequencer.h b/sequencer.h index 7029b39cd6..0c4b7c80f8 100644 --- a/sequencer.h +++ b/sequencer.h @@ -145,9 +145,9 @@ 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 sequencer_add_exec_commands(struct repository *r, - struct string_list *commands); 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); int complete_action(struct repository *r, struct replay_opts *opts, unsigned flags, const char *shortrevisions, const char *onto_name, |