Ævar Arnfjörð Bjarmason wrote: > From: Emily Shaffer <emilyshaffer@xxxxxxxxxx> > > 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