Thread (581 messages) flat view 581 messages, 16 authors, 2021-10-12

RE: [PATCH 16/31] receive-pack: convert push-to-checkout hook to hook.h

From: Felipe Contreras <hidden>
Date: 2021-06-02 00:51:11

Ævar Arnfjörð Bjarmason wrote:
From: Emily Shaffer <redacted>

By using hook.h instead of run-command.h to invoke push-to-checkout,
hooks can now be specified in the config as well as in the hookdir.
push-to-checkout is not called anywhere but in builtin/receive-pack.c.

This is the last user of the run_hook_le() API, so let's remove it
while we're at it, since run_hook_le() itself is the last user of
run_hook_ve() we can remove that too. The last direct user of
run_hook_le() was removed in the commit preceding this one.
I think this should be split in two patches.

Yes, fundamentally there's not much of a difference, but if you are
already at 31 patches one that removes the last user and nother that
removes the API will make the progression a little bit cleaner.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help