Dear diary, on Wed, Oct 18, 2006 at 08:52:25PM CEST, I got a letter where Petr Baudis <pasky@xxxxxxx> said that... > Dear diary, on Wed, Oct 18, 2006 at 04:52:25PM CEST, I got a letter > where Linus Torvalds <torvalds@xxxxxxxx> said that... > > In other words, to get such a pack, we'd _literally_ just do something > > like > > > > git-rev-list --objects-edge origin.. | > > git-pack-objects --stdout | > > uuencode > > > > and that would be it. You'd still need to add a "diffstat" to the thing, > > and tell the other end what the current HEAD is (so that it knows what > > it's supposed to fast-forward to), but it _literally_ is that simple. > > > > "plug-in architecture" my ass. "I recognize this - it's UNIX!". > > Took me exactly an hour from mkdir cogito-bundle to cg-push to > kernel.org. :-) By the way, originally I just wanted to index and save the pack, but when trying to feed it to git-index-pack, I kept getting fatal: packfile '.git/objects/pack/pack-b2ab684daebea5b9c5a6492fa732e0d2e1799c8e.pack' has unresolved deltas while feeding it to git-unpack-objects works fine. Any idea what's wrong? (BTW, I got the id by sha1summing the pack file; is there an existing way to name a pack properly if I have it lying around, unnamed? sha1sum seems to be specific to a fairly new GNU coreutils version.) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) - 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