diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-01-15 17:59:45 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-01-16 12:16:54 -0800 |
| commit | 33011e769c2dd3eaa63e5b480e5845c5d370ab13 (patch) | |
| tree | 16d5565f7e5482b35158560714ec0cffcd49de10 /t/helper/test-run-command.c | |
| parent | trace: avoid unnecessary quoting (diff) | |
| download | git-33011e769c2dd3eaa63e5b480e5845c5d370ab13.tar.gz git-33011e769c2dd3eaa63e5b480e5845c5d370ab13.zip | |
trace.c: move strbuf_release() out of print_trace_line()
The function is about printing a trace line, not releasing the buffer it
receives too. Move strbuf_release() back outside. This makes it easier
to see how strbuf is managed.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-run-command.c')
0 files changed, 0 insertions, 0 deletions
