Merge branch 'jk/maint-strbuf-missing-init' into maint
[git] / sequencer.c
1 #include "cache.h"
2 #include "sequencer.h"
3 #include "strbuf.h"
4 #include "dir.h"
5
6 void 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 }