diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-10 10:28:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-10 10:28:22 +0300 |
commit | e8cb62f1908aef40d6ea9265c480b5f597493327 (patch) | |
tree | dfc34aecc4466554ad5ecb69b5c69795382fada5 | |
parent | ef06d74b4574b0da0928b4919c01da63fadcdca2 (diff) | |
parent | 248f66ed8e055f59ad38daed6b6606336ff63c58 (diff) |
Merge branch 'nd/trace-with-env'
Code cleanup.
* nd/trace-with-env:
run-command: use strbuf_addstr() for adding a string to a strbuf
-rw-r--r-- | run-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-command.c b/run-command.c index a483d5904a..84899e423f 100644 --- a/run-command.c +++ b/run-command.c @@ -621,7 +621,7 @@ static void trace_run_command(const struct child_process *cp) if (!trace_want(&trace_default_key)) return; - strbuf_addf(&buf, "trace: run_command:"); + strbuf_addstr(&buf, "trace: run_command:"); if (cp->dir) { strbuf_addstr(&buf, " cd "); sq_quote_buf_pretty(&buf, cp->dir); |