git/t/unit-tests
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
..
clar doc: fix typos via codespell 2026-06-08 00:21:35 +09:00
.gitignore
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c
lib-oid.h
lib-reftable.c
lib-reftable.h
test-lib.c test-lib: print escape sequence names 2026-03-11 11:38:54 -07:00
test-lib.h
u-ctype.c
u-dir.c
u-example-decorate.c
u-hash.c hash: use git_hash_init() consistently 2026-07-07 21:56:00 -07:00
u-hashmap.c
u-list-objects-filter-options.c list-objects-filter-options: support 'auto' mode for --filter 2026-02-17 11:46:40 -08:00
u-mem-pool.c
u-odb-inmemory.c odb: use size_t for object_info.sizep and the size APIs 2026-06-15 07:45:41 -07:00
u-oid-array.c
u-oidmap.c oidmap: make entry cleanup explicit in oidmap_clear 2026-03-05 11:16:18 -08:00
u-oidtree.c oidtree: add ability to store data 2026-05-15 04:50:45 +09:00
u-prio-queue.c
u-reftable-basics.c
u-reftable-block.c
u-reftable-merged.c
u-reftable-pq.c
u-reftable-readwrite.c
u-reftable-record.c
u-reftable-stack.c
u-reftable-table.c
u-reftable-tree.c
u-strbuf.c
u-strcmp-offset.c
u-string-list.c string-list: add string_list_sort_u() that mimics "sort -u" 2026-01-29 09:32:50 -08:00
u-strvec.c
u-trailer.c
u-urlmatch-normalization.c urlmatch: define url_parse function 2026-05-06 09:48:28 +09:00
u-utf8-width.c
unit-test.c
unit-test.h