Re: [PATCH 3/3] Add shortcut in refresh_cache_ent() for marked entries.
- From
Marius Storm-Olsen <marius@trolltech.com>
- Date
- May 30, 2008, 13:14 UTC
- Message-ID
- <483FFDAC.8090606@trolltech.com>
- In-Reply-To
- <c581c03d8d8bfc76753018d4399a79b02a057186.1212152269.git.marius@trolltech.com>
Marius Storm-Olsen said the following on 30.05.2008 14:38:
Show 6 quoted lines
> When a cache entry has been marked as CE_VALID, the user has > promised us that any change in the work tree does not matter. > Just mark the entry as up-to-date, and continue. > > Done-by: Junio C Hamano <gitster@pobox.com> > Signed-off-by: Marius Storm-Olsen <marius@trolltech.com>
This patch actually cuts the commit/status time in half for me, on my Windows machine, when the whole work tree is validated, and core.ignoreStat == true.
-- .marius [@trolltech.com] 'if you know what you're doing, it's not research'