1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 09:06:57 +02:00
git/trace2
Calvin Wan 91c080dff5 git-compat-util: move alloc macros to git-compat-util.h
alloc_nr, ALLOC_GROW, and ALLOC_GROW_BY are commonly used macros for
dynamic array allocation. Moving these macros to git-compat-util.h with
the other alloc macros focuses alloc.[ch] to allocation for Git objects
and additionally allows us to remove inclusions to alloc.h from files
that solely used the above macros.

Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-07-05 11:42:31 -07:00
..
tr2_cfg.c git-compat-util.h: remove unneccessary include of wildmatch.h 2023-06-21 13:39:54 -07:00
tr2_cfg.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_cmd_name.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_cmd_name.h
tr2_ctr.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
tr2_ctr.h trace2: add global counter mechanism 2022-10-24 12:45:26 -07:00
tr2_dst.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_dst.h trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_sid.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_sid.h
tr2_sysenv.c dir.h: refactor to no longer need to include cache.h 2023-02-23 17:25:29 -08:00
tr2_sysenv.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_tbuf.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
tr2_tbuf.h trace2: make SIDs more unique 2019-04-16 13:37:07 +09:00
tr2_tgt.h trace2: add global counter mechanism 2022-10-24 12:45:26 -07:00
tr2_tgt_event.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
tr2_tgt_normal.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
tr2_tgt_perf.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
tr2_tls.c git-compat-util: move alloc macros to git-compat-util.h 2023-07-05 11:42:31 -07:00
tr2_tls.h trace2: add global counter mechanism 2022-10-24 12:45:26 -07:00
tr2_tmr.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
tr2_tmr.h trace2: add stopwatch timers 2022-10-24 12:45:26 -07:00