Skip to content

Commit e8cb62f

Browse files
committed
Merge branch 'nd/trace-with-env'
Code cleanup. * nd/trace-with-env: run-command: use strbuf_addstr() for adding a string to a strbuf
2 parents ef06d74 + 248f66e commit e8cb62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static void trace_run_command(const struct child_process *cp)
621621
if (!trace_want(&trace_default_key))
622622
return;
623623

624-
strbuf_addf(&buf, "trace: run_command:");
624+
strbuf_addstr(&buf, "trace: run_command:");
625625
if (cp->dir) {
626626
strbuf_addstr(&buf, " cd ");
627627
sq_quote_buf_pretty(&buf, cp->dir);

0 commit comments

Comments
 (0)