diff options
author | René Scharfe <l.s.r@web.de> | 2019-08-25 19:44:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-26 11:34:23 -0700 |
commit | 1fd881d4046fb42f77ff9031ef07b7a18028ece0 (patch) | |
tree | 4ee63f162ed2d7ee7fce2c6741c2c4ae6772fc51 /commit.c | |
parent | bce9db6de97c95882a7c46836bb6cc90acf0fef0 (diff) |
trace2: use warning() directly in tr2_dst_malformed_warning()
Let warning() format the message instead of using an intermediate strbuf
for that. This is shorter, easier to read and avoids an allocation.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions