repo.or.cz
/
git
/
jnareb-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gitweb: Fix "heads" view when there is no current branch
[git/jnareb-git.git]
/
sequencer.c
blob
d1f28a6945cbbdc8f58a32d7bb481ecd4af6cc39
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
}