4 const char *git_path_seq_dir(void);
6 #define APPEND_SIGNOFF_DEDUP (1u << 0)
11 REPLAY_INTERACTIVE_REBASE
15 enum replay_action action
;
23 int allow_rerere_auto
;
25 int allow_empty_message
;
26 int keep_redundant_commits
;
36 size_t xopts_nr
, xopts_alloc
;
38 /* Only used by REPLAY_NONE */
39 struct rev_info
*revs
;
41 #define REPLAY_OPTS_INIT { -1 }
43 int sequencer_pick_revisions(struct replay_opts
*opts
);
44 int sequencer_continue(struct replay_opts
*opts
);
45 int sequencer_rollback(struct replay_opts
*opts
);
46 int sequencer_remove_state(struct replay_opts
*opts
);
48 #define TODO_LIST_KEEP_EMPTY (1U << 0)
49 #define TODO_LIST_SHORTEN_IDS (1U << 1)
50 #define TODO_LIST_ABBREVIATE_CMDS (1U << 2)
51 int sequencer_make_script(FILE *out
, int argc
, const char **argv
,
54 int sequencer_add_exec_commands(const char *command
);
55 int transform_todos(unsigned flags
);
56 int check_todo_list(void);
57 int skip_unnecessary_picks(void);
58 int rearrange_squash(void);
60 extern const char sign_off_header
[];
62 void append_signoff(struct strbuf
*msgbuf
, int ignore_footer
, unsigned flag
);
63 void append_conflicts_hint(struct strbuf
*msgbuf
);