LWN.net Logo

Size limit in git objects?

Size limit in git objects?

Posted Apr 7, 2010 1:02 UTC (Wed) by vonbrand (subscriber, #4458)
In reply to: Subversion considered obsolete by dlang
Parent article: A proposed Subversion vision and roadmap

Wrong. From Documentation/tecnical/pack-format.txt for current git (version v1.7.0.4-361-g8b5fe8c):

Observation: length of each object is encoded in a variable length format and is not constrained to 32-bit or anything.


(Log in to post comments)

Size limit in git objects?

Posted Apr 7, 2010 3:23 UTC (Wed) by dlang (✭ supporter ✭, #313) [Link]

the length of the object isn't contrained, but the offset to the start of the object is.

so you can have up to 4G in a pack file, plus however much the last object runs off the end of it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds