Re: [PATCH v2 00/13] hook.[ch]: new library to run hooks + simple hook conversion
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 16, 2021, 05:22 UTC
- Message-ID
- <CAPig+cSUFE7zXo25iSpwYA7QAine+-6xfCVBSb3DupdyoDw1WQ@mail.gmail.com>
- In-Reply-To
- <xmqqbl3p4wgz.fsf@gitster.g>
On Fri, Oct 15, 2021 at 8:58 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> 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.