diff options
Diffstat (limited to 'sequencer.h')
-rw-r--r-- | sequencer.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sequencer.h b/sequencer.h index 96c69482ad..e45b178dfc 100644 --- a/sequencer.h +++ b/sequencer.h @@ -56,10 +56,14 @@ int sequencer_continue(struct replay_opts *opts); int sequencer_rollback(struct replay_opts *opts); int sequencer_remove_state(struct replay_opts *opts); -int sequencer_make_script(int keep_empty, FILE *out, - int argc, const char **argv); - -int transform_todo_ids(int shorten_ids); +#define TODO_LIST_KEEP_EMPTY (1U << 0) +#define TODO_LIST_SHORTEN_IDS (1U << 1) +#define TODO_LIST_ABBREVIATE_CMDS (1U << 2) +int sequencer_make_script(FILE *out, int argc, const char **argv, + unsigned flags); + +int sequencer_add_exec_commands(const char *command); +int transform_todos(unsigned flags); int check_todo_list(void); int skip_unnecessary_picks(void); int rearrange_squash(void); |