Re: [PATCH] User Manual: document import-tars.perl
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:36
Hi, On Wed, 26 Sep 2007, J. Bruce Fields wrote:
On Wed, Sep 26, 2007 at 12:37:04AM +0200, Miklos Vajna wrote:quoted
Signed-off-by: Miklos Vajna <redacted> --- On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" [off-list ref] wrote:quoted
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