Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-05 07:48:19 +0300
committerJunio C Hamano <gitster@pobox.com>2017-10-05 07:48:19 +0300
commite46ebc27547e3d09385a76ade7ab11dc794f7595 (patch)
tree30cb7479169551ea70b0efaf87881d1a0001b6d1 /sequencer.c
parentefe9d6ce33ed817150f4ff63ebfc14a3f7667eb4 (diff)
parent38bdf62b738bb93f7e1a6af8058dc31f27c91d4e (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.c2
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);