aboutsummaryrefslogtreecommitdiff
path: root/hook.h
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2026-03-25 21:55:00 +0200
committerJunio C Hamano <gitster@pobox.com>2026-03-25 14:00:47 -0700
commitd8513bc5d84f21ea6d327a9cf9a369077eb19c67 (patch)
tree9fc182bd672ca0f43e21c730a5ae4f42de893078 /hook.h
parente0fceec06ba10222c4b66e8fdf83b139c4233d31 (diff)
downloadgit-d8513bc5d84f21ea6d327a9cf9a369077eb19c67.tar.xz
hook: introduce hook_config_cache_entry for per-hook data
Replace the bare `char *command` util pointer stored in each string_list item with a heap-allocated `struct hook_config_cache_entry` that carries that command string. This is just a refactoring with no behavior changes, to give the cache entry room to grow, so it can carry the additional hook metadata we'll be adding in the following commits. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hook.h')
0 files changed, 0 insertions, 0 deletions