invalidate_ref_cache(): expose this function in the refs API
[git.git] / sequencer.h
blob905d29501213f058f0d8cc88e7ba57527d506483
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"
11 * Removes SEQ_OLD_DIR and renames SEQ_DIR to SEQ_OLD_DIR, ignoring
12 * any errors. Intended to be used by 'git reset'.
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.
18 void remove_sequencer_state(int aggressive);
20 #endif