On Thu, Sep 2, 2010 at 8:29 PM, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote: > Luke Kenneth Casson Leighton <luke.leighton@xxxxxxxxx> wrote: >> >> * based on what you kindly mentioned about "git repack -f", would a >> (well-written!) patch to git pack-objects to add a >> "--single-thread-only" option be acceptable? > > Probably not. I can't think of a good reason to limit the number > of threads that get used. We already have pack.threads as a > configuration variable to support controlling this for the system, > but that's about the only thing that really makes sense. > >> * would you, or anyone else with enough knowledge of how this stuff >> reaallly works, be willing to put some low-priority back-of-mind >> thought into how to create a "canonical" pack format > > We have. We've even talked about it on the mailing list. Multiple > times. Most times about how to support a p2p Git transport. > That whole Gittorrent thing you are ignoring, i'm not ignoring it - it was abandoned and sam created mirrorsync instead! and i can't ignore something when all the damn information on it has been withdrawn from the internet! i _have_ been looking, and just can't darn well find anything. fortunately, i'm reasonably bright, catch on fast, and listen well. ok. _sometimes_ i listen well :) > we put some effort > into coming up with a pack-like format that would be more stable, > at the expense of being larger in total size. ahhh goood. > Nico, myself, and a whole lot of other very smart folks who really > understand how Git works today have failed to identify a way to do > this that we actually want to write, include in git, and maintain > long-term. bugger. *sigh* ok. so, scratch that question, nico (the canonical-pack question but not the --single-thread one) so, this, and... > In general pack files don't change that often, so there are fairly ... this, all tend to point towards the idea of sharing packs by {ref}-{commitref}-{SHA1}.torrent as being a reasonabe and "good enough" idea. on the basis that anyone who happens to be doing git-sharing _right now_ is likely to end up sharing the exact same pack object generated by the same one (original) seed. i'd better start looking at bittornado in more detail... l. p.s. thank you to everyone who's responding, i dunno about you but this is fascinating. -- 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