git/trace2
Junio C Hamano cb8e82a641 trace2: trim_trailing_newline followed by trim is a no-op
strbuf_trim_trailing_newline() removes a LF or a CRLF from the tail
of a string.  If the code plans to call strbuf_trim() immediately
after doing so, the code is better off skipping the EOL trimming in
the first place.  After all, LF/CRLF at the end is a mere special
case of whitespaces at the end of the string, which will be removed
by strbuf_rtrim() anyway.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-08-02 22:44:58 -07:00
..
tr2_cfg.c trace2: trim_trailing_newline followed by trim is a no-op 2025-08-02 22:44:58 -07:00
tr2_cfg.h
tr2_cmd_name.c
tr2_cmd_name.h
tr2_ctr.c
tr2_ctr.h
tr2_dst.c
tr2_dst.h
tr2_sid.c global: adapt callers to use generic hash context helpers 2025-01-31 10:06:11 -08:00
tr2_sid.h
tr2_sysenv.c trace2/tr2_sysenv.c: *.txt -> *.adoc fixes 2025-03-03 13:49:26 -08:00
tr2_sysenv.h
tr2_tbuf.c
tr2_tbuf.h
tr2_tgt.h
tr2_tgt_event.c Merge branch 'am/trace2-with-valueless-true' 2025-01-29 14:05:10 -08:00
tr2_tgt_normal.c
tr2_tgt_perf.c Merge branch 'am/trace2-with-valueless-true' 2025-01-29 14:05:10 -08:00
tr2_tls.c
tr2_tls.h
tr2_tmr.c trace2: avoid "futile conditional" 2025-05-15 13:46:47 -07:00
tr2_tmr.h