From: Erik Cervin Edin Date: Fri, 14 Oct 2022 08:37:51 GMT Subject: Re: icase pathspec magic support in ls-tree Message-ID: In-Reply-To: On Fri, Oct 14, 2022 at 10:32 AM Tao Klerks 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