From: Martin Waitz Date: Thu, 06 Jul 2006 07:41:34 GMT Subject: Re: comparing file contents in is_exact_match? Message-ID: <20060706074134.GC12512@admingilde.org> In-Reply-To: <7vwtar89wy.fsf@assigned-by-dhcp.cox.net> On Thu, Jul 06, 2006 at 12:33:33AM -0700, Junio C Hamano wrote: > Martin Waitz writes: > > so perhaps we need three phases instead of two: > > first sort out all renames that can be detected by the sha1, > > then compare file contents and finally do the diff. > > Makes sort-of sense. > > Although I am not sure how much this would help with a regular > workload, maybe something like this untested patch might help > your situation? patch looks good, I'll try it in the evening. -- Martin Waitz