2011-08-04 14:39:11 +04:00
|
|
|
#ifndef SEQUENCER_H
|
|
|
|
#define SEQUENCER_H
|
|
|
|
|
|
|
|
#define SEQ_DIR "sequencer"
|
|
|
|
#define SEQ_OLD_DIR "sequencer-old"
|
|
|
|
#define SEQ_HEAD_FILE "sequencer/head"
|
|
|
|
#define SEQ_TODO_FILE "sequencer/todo"
|
|
|
|
#define SEQ_OPTS_FILE "sequencer/opts"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Removes SEQ_OLD_DIR and renames SEQ_DIR to SEQ_OLD_DIR, ignoring
|
|
|
|
* any errors. Intended to be used by 'git reset'.
|
|
|
|
*
|
|
|
|
* With the aggressive flag, it additionally removes SEQ_OLD_DIR,
|
|
|
|
* ignoring any errors. Inteded to be used by the sequencer's
|
2011-11-22 15:14:29 +04:00
|
|
|
* '--quit' subcommand.
|
2011-08-04 14:39:11 +04:00
|
|
|
*/
|
|
|
|
void remove_sequencer_state(int aggressive);
|
|
|
|
|
|
|
|
#endif
|