From: Petr Baudis Date: Wed, 18 Oct 2006 18:59:07 GMT Subject: Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle Message-ID: <20061018185907.GV20017@pasky.or.cz> In-Reply-To: <20061018185225.GU20017@pasky.or.cz> Dear diary, on Wed, Oct 18, 2006 at 08:52:25PM CEST, I got a letter where Petr Baudis said that... > Dear diary, on Wed, Oct 18, 2006 at 04:52:25PM CEST, I got a letter > where Linus Torvalds 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