From: ydirson@free.fr Date: Mon, 12 Nov 2012 13:11:22 GMT Subject: Re: Help requested - trying to build a tool doing whole-tree commits Message-ID: <1251602526.74686986.1352725882260.JavaMail.root@zimbra39-e7.priv.proxad.net> In-Reply-To: <931951238.74665890.1352725212354.JavaMail.root@zimbra39-e7.priv.proxad.net> esr: >Junio C Hamano pobox.com>: >> Perhaps not exactly what you are looking for, but don't we have >> import-tar somewhere in contrib/fast-import hierarchy (sorry, not on >> a machine yet, and I cannot give more details). > >If I recall correctly, that can only be used for original import. You may find my (old) ag-import-patch tool useful. Although the name does not imply it, it allows to import a series of releases that can be available either as tarballs or as patches. http://ydirson.free.fr/soft/git/argit.git/ There's not much doc in there, and not so much I can remember myself from the short help string. IIRC you can specify which base revision a patch applies to (ie. it may apply to an older revision, not necessarily to the current HEAD). It has also quite some bitrot (git-* direct invocation, use of cg-tag, surely more).