revert: Introduce --reset to remove sequencer state
[git/git.git] / sequencer.h
CommitLineData
26ae337b
RR
1#ifndef SEQUENCER_H
2#define SEQUENCER_H
3
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"
9
10/*
11 * Removes SEQ_OLD_DIR and renames SEQ_DIR to SEQ_OLD_DIR, ignoring
12 * any errors. Intended to be used by 'git reset'.
13 *
14 * With the aggressive flag, it additionally removes SEQ_OLD_DIR,
15 * ignoring any errors. Inteded to be used by the sequencer's
16 * '--reset' subcommand.
17 */
18void remove_sequencer_state(int aggressive);
19
20#endif