diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-08-08 14:48:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-08 14:48:41 -0700 |
commit | 940622bc8b33e085f62c5bcfe6183fe6f57888e2 (patch) | |
tree | 317b4e1134c92f488f28280d7441db43fb9e3454 /sequencer.c | |
parent | 68e80da479ff940aea3f34447336e523b448f34c (diff) | |
parent | bc57b9c0cc5a123365a922fa1831177e3fd607ed (diff) | |
download | git-940622bc8b33e085f62c5bcfe6183fe6f57888e2.tar.gz |
Merge branch 'rs/use-strbuf-addstr'
* rs/use-strbuf-addstr:
use strbuf_addstr() instead of strbuf_addf() with "%s"
use strbuf_addstr() for adding constant strings to a strbuf
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 cdfac82b11..7b1eb14645 100644 --- a/sequencer.c +++ b/sequencer.c @@ -112,7 +112,7 @@ static void remove_sequencer_state(void) { struct strbuf seq_dir = STRBUF_INIT; - strbuf_addf(&seq_dir, "%s", git_path(SEQ_DIR)); + strbuf_addstr(&seq_dir, git_path(SEQ_DIR)); remove_dir_recursively(&seq_dir, 0); strbuf_release(&seq_dir); } |