Re: [PATCH] User Manual: document import-tars.perl
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 26, 2007, 19:58 UTC
- Message-ID
- <Pine.LNX.4.64.0709262055210.28395@racer.site>
- In-Reply-To
- <20070926181451.GA20976@fieldses.org>
Hi,
On Wed, 26 Sep 2007, J. Bruce Fields wrote:
Show 14 quoted lines
> On Wed, Sep 26, 2007 at 12:37:04AM +0200, Miklos Vajna wrote: > > Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> > > --- > > > > On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote: > > > One exception--the "series of tarballs" thing--I think it's cool that > > > you can just unpack a bunch of tarballs and string them together into a > > > git history. It gives a good sense of how git works, and I don't think > > > it's documented explicitly anywhere. I think that might be kinda fun to > > > write up. But I haven't tried. > > > > something like this? > > Neat-o, I'd missed (or forgotten about) import-tars.perl.
You should also mention
$ mkdir my-new-repo $ cd my-new-repo $ git init $ for z in /blub/*.zip do rm -rf * 2> /dev/null && unzip "$z" && git add . && git commit -m "$z" || break done
import-tars.pl is much faster than this, of course, when it comes to tars, but it has no clue about other archive formats.
Ciao, Dscho