diff options
| author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2026-03-25 21:55:00 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-25 14:00:47 -0700 |
| commit | d8513bc5d84f21ea6d327a9cf9a369077eb19c67 (patch) | |
| tree | 9fc182bd672ca0f43e21c730a5ae4f42de893078 /worktree.c | |
| parent | e0fceec06ba10222c4b66e8fdf83b139c4233d31 (diff) | |
| download | git-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 'worktree.c')
0 files changed, 0 insertions, 0 deletions
