Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Index format "3"

>> Are there any plans
>
> Maybe.  We should support it just to be compatible.  But its not
> high on my priority list.  I've been rather against some of the
> changes that have caused index format 3 to appear.
>
>> (or even pending patches :) to support Index version
>> "3" (CE_EXTENDED)?
>
> Nope, no pending patches yet.  Want to change that?  :-)

Probably, yes :) As far as I understand from cache.h, version "3" is
just about an additional flag? And that one is primarily used to store
information on which entries to skip for a check out? So (1) making
DirCache read that information should be no problem. (2) Maybe
DirCacheIterator has to be adjusted, what should be no big deal, too (do
I underestimate required effort here?) What other functionality is
affected by sparse working trees exceeds my horizon ... anyway, for a
first step, (1) and (2) should be sufficient to at least give correct
status information for the working tree. All other affected parts of
jgit might reject to work with Index version "3".

--
Best regards,
Marc Strapetz
=============
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com




Shawn O. Pearce wrote:
> Marc Strapetz <marc.strapetz@xxxxxxxxxxx> wrote:
>> Are there any plans
> 
> Maybe.  We should support it just to be compatible.  But its not
> high on my priority list.  I've been rather against some of the
> changes that have caused index format 3 to appear.
> 
>> (or even pending patches :) to support Index version
>> "3" (CE_EXTENDED)?
> 
> Nope, no pending patches yet.  Want to change that?  :-)
> 


Back to the top