]> git.99rst.org Git - git.git/commit
read-cache: convert post-index-change to use hook.h
authorEmily Shaffer <redacted>
Wed, 22 Dec 2021 03:59:41 +0000 (04:59 +0100)
committerJunio C Hamano <redacted>
Fri, 7 Jan 2022 23:19:35 +0000 (15:19 -0800)
commitdbb1c61365baabf4e74c6ef2eee4c4a520056c1d
treea46cbf90fc97e8a82a3f6c3fe5d76dadf8defb94
parentf443246b9f29b815f0b98a07bb2d425628ae6522
read-cache: convert post-index-change to use hook.h

Move the post-index-change hook away from run-command.h to and over to
the new hook.h library.

This removes the last direct user of "run_hook_ve()" outside of
run-command.c ("run_hook_le()" still uses it). So we can make the
function static now. A subsequent commit will remove this code
entirely when "run_hook_le()" itself goes away.

Signed-off-by: Emily Shaffer <redacted>
Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Acked-by: Emily Shaffer <redacted>
Signed-off-by: Junio C Hamano <redacted>
read-cache.c
run-command.c
run-command.h
git clone https://git.99rst.org/PROJECT