aboutsummaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-05 13:48:19 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-05 13:48:19 +0900
commite46ebc27547e3d09385a76ade7ab11dc794f7595 (patch)
tree30cb7479169551ea70b0efaf87881d1a0001b6d1 /sequencer.c
parentefe9d6ce33ed817150f4ff63ebfc14a3f7667eb4 (diff)
parent38bdf62b738bb93f7e1a6af8058dc31f27c91d4e (diff)
downloadgit-e46ebc27547e3d09385a76ade7ab11dc794f7595.tar.gz
git-e46ebc27547e3d09385a76ade7ab11dc794f7595.tar.xz
Merge branch 'rs/cleanup-strbuf-users'
Code clean-up. * rs/cleanup-strbuf-users: graph: use strbuf_addchars() to add spaces use strbuf_addstr() for adding strings to strbufs path: use strbuf_add_real_path()
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index b8c1e876f..7886e2269 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -204,7 +204,7 @@ int sequencer_remove_state(struct replay_opts *opts)
free(opts->xopts[i]);
free(opts->xopts);
- strbuf_addf(&dir, "%s", get_dir(opts));
+ strbuf_addstr(&dir, get_dir(opts));
remove_dir_recursively(&dir, 0);
strbuf_release(&dir);