From: Dun Peal Date: Fri, 08 Oct 2010 19:44:05 GMT Subject: Re: Efficiently detecting paths that differ from each other only in case Message-ID: In-Reply-To: <20101008135034.GC5163@sigill.intra.peff.net> On Fri, Oct 8, 2010 at 8:50 AM, Jeff King wrote: > You can do: > >  git ls-files | tr A-Z a-z | sort | uniq -d Thanks, but the main issue is that this is a very large repository with tens of thousands of paths (files and directories). git ls-files thus takes a long time, almost a second. Since this is a commit-heavy repo, I'd rather avoid that overhead. Incidentally, there's an SVN hook that does the exact same thing that I want to do: http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/case-insensitive.py D