From: Johannes Schindelin Date: Fri, 30 Jun 2006 09:56:50 GMT Subject: Re: [PATCH 4/4] save another call to git-update-index Message-ID: In-Reply-To: <81b0412b0606300022k68d13dg8e292d9b768df51c@mail.gmail.com> Hi, On Fri, 30 Jun 2006, Alex Riesen wrote: > On 6/30/06, Johannes Schindelin wrote: > > > > FYI I've been just battling this pipe for a couple of hours. The first > > steps were easy, but since I wanted to do it incrementally, the index has > > to be written every so often, and I seem not to be able to get that right. > > > Are you sure? Does something use the index between starting update-index > pipe and pclose? Yes, I am sure you have to write the cache before git-read-tree and git-write-tree ;-) I must have done something severely wrong, though, since there are not too many places where they are called. The problem is more likely that the cache has to be _read_, and _before_ the first substituted call to git-update-index. Ciao, Dscho