diff options
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sequencer.c b/sequencer.c new file mode 100644 index 000000000..d1f28a694 --- /dev/null +++ b/sequencer.c @@ -0,0 +1,13 @@ +#include "cache.h" +#include "sequencer.h" +#include "strbuf.h" +#include "dir.h" + +void remove_sequencer_state(void) +{ + struct strbuf seq_dir = STRBUF_INIT; + + strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR)); + remove_dir_recursively(&seq_dir, 0); + strbuf_release(&seq_dir); +} |