From: Dun Peal Date: Fri, 08 Oct 2010 19:57:49 GMT Subject: Re: Efficiently detecting paths that differ from each other only in case Message-ID: In-Reply-To: <20101008195120.GA10810@sigill.intra.peff.net> On Fri, Oct 8, 2010 at 2:51 PM, Jeff King wrote: > One thing to consider, though, is if this is a hook running on the > server, you probably don't want to look at the index. You probably want > to look for duplicates in one tree entry (fed to the hook). So you would > be using git ls-tree, which probably is a bit slower. Thanks, but why is that? Why can't I use ls-files, and must use use ls-tree, which you say would be slower? For extra details: is the central Git repository, running under Gitorious, on a fairly powerful server. It's a bare repo, naturally. D