4 #define SEQ_DIR "sequencer"
5 #define SEQ_OLD_DIR "sequencer-old"
6 #define SEQ_HEAD_FILE "sequencer/head"
7 #define SEQ_TODO_FILE "sequencer/todo"
8 #define SEQ_OPTS_FILE "sequencer/opts"
10 enum replay_action
{ REPLAY_REVERT
, REPLAY_PICK
};
12 struct replay_insn_list
{
13 enum replay_action action
;
14 struct commit
*operand
;
15 struct replay_insn_list
*next
;
19 * Removes SEQ_OLD_DIR and renames SEQ_DIR to SEQ_OLD_DIR, ignoring
20 * any errors. Intended to be used by 'git reset'.
22 * With the aggressive flag, it additionally removes SEQ_OLD_DIR,
23 * ignoring any errors. Inteded to be used by the sequencer's
24 * '--reset' subcommand.
26 void remove_sequencer_state(int aggressive
);