gitweb: Fix "heads" view when there is no current branch
[git/jnareb-git.git] / sequencer.c
blobd1f28a6945cbbdc8f58a32d7bb481ecd4af6cc39
1 #include "cache.h"
2 #include "sequencer.h"
3 #include "strbuf.h"
4 #include "dir.h"
6 void remove_sequencer_state(void)
8 struct strbuf seq_dir = STRBUF_INIT;
10 strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR));
11 remove_dir_recursively(&seq_dir, 0);
12 strbuf_release(&seq_dir);