git/trace2
Jeff King 9b204b825b hash: use git_hash_init() consistently
We'd like to add more logic to git_hash_init(), but many callers skip it
and call algop->init_fn() directly. Let's make sure we're consistently
using the wrapper by adding a coccinelle rule.

Besides the coccinelle file itself, this is a purely mechanical
conversion based on the patch it generates. There should be no bare
init_fn() calls left (except for the one in the wrapper).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-07-07 21:56:00 -07:00
..
tr2_cfg.c trace2: do not use strbuf_split*() 2025-08-02 22:44:58 -07:00
tr2_cfg.h
tr2_cmd_name.c
tr2_cmd_name.h
tr2_ctr.c Merge branch 'ak/typofix-2.46-maint' 2024-10-04 14:21:40 -07:00
tr2_ctr.h
tr2_dst.c
tr2_dst.h
tr2_sid.c hash: use git_hash_init() consistently 2026-07-07 21:56:00 -07: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 trace2: prevent segfault on config collection with valueless true 2025-01-23 10:01:56 -08:00
tr2_tgt_perf.c Merge branch 'am/trace2-with-valueless-true' 2025-01-29 14:05:10 -08:00
tr2_tls.c trace2: destroy context stored in thread-local storage 2024-09-27 08:25:36 -07:00
tr2_tls.h trace2: fix typos 2024-10-03 12:06:50 -07:00
tr2_tmr.c trace2: avoid "futile conditional" 2025-05-15 13:46:47 -07:00
tr2_tmr.h