diff options
| author | Jeff King <peff@peff.net> | 2026-07-07 23:52:49 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-07 21:56:00 -0700 |
| commit | 9b204b825bcaf656ea6a2cb0657ef907db21a0e6 (patch) | |
| tree | c0ba563039ba5a426c8be84a121dbde4c841667f /t/t4013/diff.diff_initial..side | |
| parent | f08ece0e2c76afc5a1b51afe0f3a6d0021ae1388 (diff) | |
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>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
