On Fri, Oct 15, 2021 at 8:58 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > > Part 2 of the greater configurable hook saga, starting by converting > > some existing simple hooks to the new hook.[ch] library and "git hook > > run" utility. > > This, when merged to 'seen', seems to fail so many tests to make me > question my sanity. Something is not playing with it well. > > Queued on top of a merge of ab/config-based-hooks-1 into 'master'; > when tested alone, without any other topics in 'seen', it seems to > fare much better. Only t2400-worktree-add.sh fails at 58-59 and 62. For what it's worth, `git worktree add` is special in that it has to run the `post-checkout` hook in the newly-created worktree, not in the worktree in which the `git worktree add` command was issued.