]> git.ipfire.org Git - thirdparty/git.git/commit
receive-pack: convert push-to-checkout hook to hook.h
authorEmily Shaffer <emilyshaffer@google.com>
Wed, 22 Dec 2021 03:59:42 +0000 (04:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jan 2022 23:19:35 +0000 (15:19 -0800)
commit306f445ed16065dfd03553c8a990037b2daf4f05
treea5d34ecf41527140050709e828cbb144b830a2c4
parentdbb1c61365baabf4e74c6ef2eee4c4a520056c1d
receive-pack: convert push-to-checkout hook to hook.h

Move the push-to-checkout hook away from run-command.h to and over to
the new hook.h library.

This removes the last direct user of run_hook_le(), so we could remove
that function now, but let's leave that to a follow-up cleanup commit.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c