LWN.net Logo

Support large repositories!

Support large repositories!

Posted Apr 8, 2010 0:31 UTC (Thu) by dlang (✭ supporter ✭, #313)
In reply to: Support large repositories! by cmccabe
Parent article: A proposed Subversion vision and roadmap

1. I believe that git will first compare the stored hash of the two files (actually of the two trees, so if the trees are the same it doesn't bother checking the individual files), only if that is different will it actually do the diff

2. This has been discussed, and most of the design work has been done for a couple of different possible solutions.

the first is to store the files separately and just have a reference of how to get the file inside the existing git records. the design work has been mostly done, but nobody has taken the time to code it (GSOC interest anyone ;-)

the second is to modify the pack format to handle larger things. There are people working on this, but since this would be a very invasive set of changes they are trying to anticipate all possible improvements and so it is moving very slowly


(Log in to post comments)

Support large repositories!

Posted Apr 8, 2010 16:35 UTC (Thu) by Spudd86 (guest, #51683) [Link]

In fact I think it first checks the mtime of the file before even computing the hash

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