Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
use strbuf_addstr() instead of strbuf_addf() with "%s"
[gitweb.git]
/
sequencer.c
diff --git
a/sequencer.c
b/sequencer.c
index a33c39b64fbd9cf42e5bd531488f7d2366bd167b..80a17bb3bd01064c80550e6e302750c9e9c3a7ad 100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-112,7
+112,7
@@
static void remove_sequencer_state(void)
{
struct strbuf seq_dir = STRBUF_INIT;
- strbuf_add
f(&seq_dir, "%s"
, git_path(SEQ_DIR));
+ strbuf_add
str(&seq_dir
, git_path(SEQ_DIR));
remove_dir_recursively(&seq_dir, 0);
strbuf_release(&seq_dir);
}