Win32: patch Windows environment on startup
[git/mingw/4msysgit/kblees.git] / sequencer.h
blobf4db257a5b1906517ecfcd91aafd7e3381352a6c
1 #ifndef SEQUENCER_H
2 #define SEQUENCER_H
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);
28 #endif