Jakub Narebski <jnareb@xxxxxxxxx> wrote: > Simon 'corecode' Schubert wrote: > > Jakub Narebski wrote: > >> > >> By the way, RCS / CVS rewrote relevant data (to have diff from the top > >> structure) on each commit. > >> > >> I wonder if git could generate pack on the fly fastimport like... > > > > What do you mean with that? generate the pack on which occasion? > > CVS import? I do this already. > > On commit. I've thought about doing this. Except there are three independent processes occuring during commit that generate objects: update-index write-tree commit-tree and the update-index portion is also git-add, which we have now started to encourage users to do ahead of time as often as needed, prior to running git-commit. Its also the one that generates the largest set of new objects for most projects. One problem comes that we have a rule: "don't delta an object which is already in a pack, unless -f is given". This is one of the reasons `git repack -a -d -l` is so dang fast. Its assuming all new stuff is loose, and therefore should be delta'd, but the old stuff which we have already delta'd is kept as-is. Basically I've thought about doing this (after my work in gfi) and decided its not worth the level of effort involved at this time. So I'm not going to do it. Someone else can try. ;-) -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html