From: Nicolas Pitre Date: Wed, 11 May 2005 02:30:21 GMT Subject: Re: Core and Not-So Core Message-ID: In-Reply-To: <2cfc403205051017505b57da72@mail.gmail.com> On Wed, 11 May 2005, Jon Seymour wrote: > On 5/11/05, Petr Baudis wrote: > > So unlike the objects database which has well-defined format and is > > supposed to be "public", you should view the directory cache as internal > > git tools' structure. If you want to mess with it too, either use the > > proper level of abstraction and call the git tools, or don't mess with > > it at all. And you need to care about it only if you want the git tools > > working on the same tree properly too - so in that case use the git > > tools too. > > I agree in principle, though I'd like users to be able to easily > switch between the Eclipse and git tools view of the workspace if they > want to - who am I to say how a user should work? Eclipse does this > kind of thing quite well with CVS precisely because it shares the > workspace structures with the CVS command line tools rather than > "re-inventing" the wheel. In this case you just need to manage to use the current index format somehow. Honestly I don't think Linus might be interested into changing the index format just to make a Java implementation happier. So your best bet is probably to use it as is or ignore it entirely. Nicolas