Re: Tree with leading '0' modes in 1.7.0.3
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Mar 27, 2010, 01:30 UTC
- Message-ID
- <alpine.LFD.2.00.1003262125120.694@xanadu.home>
- In-Reply-To
- <20100327012211.GD10910@spearce.org>
On Fri, 26 Mar 2010, Shawn O. Pearce wrote:
Show 15 quoted lines
> "Mike.lifeguard" <mike.lifeguard@gmail.com> wrote: > > On 10-03-26 08:56 PM, Avery Pennarun wrote: > > > The problem is that everything in git works perfectly with these > > > invalid file modes *except* fsck, and there's rarely a need to run > > > fsck, so this problem can hide for a long time. > > > > So, does the error matter or not? If it doesn't matter, then shouldn't > > Jgit stop whining? If it does, then whatever-it-is needs to be fixed. > > Its less harmful than other types of corruption. But its quite > wrong from a format perspective. The hash of the tree differs even > though there is no semantic difference in the tree content. > > Given that GitHub has blessed the world with this corruption, > we may need to modify JGit to accept it.
Should we?
This is going to screw up pack v4 (yes, someday I'll have the time to make it real).
Nicolas