From: Linus Torvalds Date: Sun, 13 Jan 2008 17:24:02 GMT Subject: Re: performance problem: "git commit filename" Message-ID: In-Reply-To: <7vd4s6qal0.fsf@gitster.siamese.dyndns.org> On Sun, 13 Jan 2008, Junio C Hamano wrote: > > The attached is a quick and dirty hack which may or may not > help. It all looks sane, this also is some core code, and meant > only for discussion and not application. I don't think this will help. You never set CE_UPTODATE, except in the "fill_stat_cache_info()" function, but that one will never be called for an old file that already matched the stat. So at a minimum, you should also make ie_match_stat() set CE_UPTODATE if it matches. Or something. Linus