Re: Importing non-version controlled bits and pieces to Git
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Jun 20, 2008, 11:51 UTC
- Message-ID
- <20080620115102.GW29404@genesis.frugalware.org>
- In-Reply-To
- <Pine.LNX.4.64.0806201036440.24013@ds9.cixit.se>
On Fri, Jun 20, 2008 at 10:42:22AM +0100, Peter Karlsson <peter@softwolves.pp.se> wrote:
Show 9 quoted lines
> I am looking at moving a project that has not been version-controlled > in the regular sense into Git. I have found it to currently consist of > 40 directories with copies of the set of files in various shapes. > > I have reconstructed something that looks like a probable revision tree > for these 40 directories, and I want to put this into Git so that I can > examine what changes have been made where, and merge the various > versions back together so that there can be one version with all the > various fixes.
Maybe contrib/fast-import/import-tars.perl?
It imports tar.{gz,bz2,Z} files, but you can tar up your trees or it can just serve as an example and you can write your own script that does the same with directories.