{"thread":{"id":"547","subject":"[RFC] Cache optimizations","startedAt":"2005-05-09T05:15:09Z","lastAt":"2005-05-09T05:49:17Z","messageCount":2,"participants":["Daniel Barkalow","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"2861","messageId":"Pine.LNX.4.21.0505090058240.30848-100000@iabervon.org","threadId":"547","inReplyTo":null,"subject":"[RFC] Cache optimizations","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2005-05-09T05:15:09Z","receivedAt":"2005-05-09T05:15:09Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"Does anyone know of a reason not to refresh each entry in the cache as\nit's checked out? It seems to me like this would eliminate the need to\ncall update-cache --refresh after checkout-cache and it would update only\nthe entries for files which are actually changed in the working directory.\n\nIs it just that the code to lock and write the cache is\n(currently) inconvenient to add to different programs?\n\n\t-Daniel\n*This .sig left intentionally blank*\n\n"},{"id":"2863","messageId":"7vzmv5ymn6.fsf@assigned-by-dhcp.cox.net","threadId":"547","inReplyTo":"Pine.LNX.4.21.0505090058240.30848-100000@iabervon.org","subject":"Re: [RFC] Cache optimizations","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-05-09T05:49:17Z","receivedAt":"2005-05-09T05:49:17Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":">>>>> \"DB\" == Daniel Barkalow <barkalow@iabervon.org> writes:\n\nDB> Does anyone know of a reason not to refresh each entry in\nDB> the cache as it's checked out?\n\nI vaguely recall Linus saying something about wanting to keep\ncheckout-cache being a read-only consumer of the index file;\nI've checked mailing list archive but I cannot not find a\nreference to point you at, though.\n\n"}]}