On Fri, Oct 14, 2022 at 10:32 AM Tao Klerks <tao@xxxxxxxxxx> wrote: > > I need to use ls-tree rather than ls-files because this is indeed a > command to run in an update hook, and there is no working tree - no > (relevant) index, in a server-side update hook. I believe git diff --name-only doesn't need a working tree