From: Junio C Hamano Date: Mon, 12 Sep 2005 20:30:22 GMT Subject: Re: [PATCH 00/22] cache cursors: an introduction Message-ID: <7vwtlm9ggx.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Daniel Barkalow writes: >> * It may make sense to give another param to describe which >> cache the caller is talking about so that we can later have >> more than one cache at the same time: >> > Wouldn't it be better to only take it in cc_init(), and have the cursor > remember what it's iterating through? Yes. > I'm actually particularly interested in having a pair of caches for > read-tree, because it would actually like to keep the old index separate > from the index it's building. Yes.