Re: [PATCH 3/3] Add shortcut in refresh_cache_ent() for marked entries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marius Storm-Olsen said the following on 30.05.2008 14:38:
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@xxxxxxxxx>
Signed-off-by: Marius Storm-Olsen <marius@xxxxxxxxxxxxx>

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'

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux