revert: prepare to move replay_action to header
[git/git.git] / sequencer.c
... / ...
CommitLineData
1#include "cache.h"
2#include "sequencer.h"
3#include "strbuf.h"
4#include "dir.h"
5
6void remove_sequencer_state(void)
7{
8 struct strbuf seq_dir = STRBUF_INIT;
9
10 strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR));
11 remove_dir_recursively(&seq_dir, 0);
12 strbuf_release(&seq_dir);
13}