diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-05 07:48:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-05 07:48:19 +0300 |
commit | e46ebc27547e3d09385a76ade7ab11dc794f7595 (patch) | |
tree | 30cb7479169551ea70b0efaf87881d1a0001b6d1 /sequencer.c | |
parent | efe9d6ce33ed817150f4ff63ebfc14a3f7667eb4 (diff) | |
parent | 38bdf62b738bb93f7e1a6af8058dc31f27c91d4e (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index b8c1e876fa..7886e2269e 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); |