threads / rfc / 547

[RFC] Cache optimizations

Subject: [RFC] Cache optimizations

## tl;dr

2 messages between May 9, 2005 and May 9, 2005.

replies: 1people: 2as markdown or json

Daniel Barkalow· May 9, 2005, 05:15 UTC · lore

Does anyone know of a reason not to refresh each entry in the cache as it's checked out? It seems to me like this would eliminate the need to call update-cache --refresh after checkout-cache and it would update only the entries for files which are actually changed in the working directory.

Is it just that the code to lock and write the cache is (currently) inconvenient to add to different programs?

	-Daniel
*This .sig left intentionally blank*
Junio C Hamano· May 9, 2005, 05:49 UTC · re: Daniel Barkalow · lore

Re: [RFC] Cache optimizations

>>>>> "DB" == Daniel Barkalow <barkalow@iabervon.org> writes:

DB> Does anyone know of a reason not to refresh each entry in DB> the cache as it's checked out?

I vaguely recall Linus saying something about wanting to keep checkout-cache being a read-only consumer of the index file; I've checked mailing list archive but I cannot not find a reference to point you at, though.

← back to recent threads