From: Martin Langhoff Date: Thu, 21 Dec 2006 20:27:23 GMT Subject: Re: git-add,& "file vanishing" -> need git-add again Message-ID: <46a038f90612211227v2f1325e5i96ca6f773eb05def@mail.gmail.com> In-Reply-To: <20061221141335.65170.qmail@web86902.mail.ukl.yahoo.com> On 12/22/06, David Tweed wrote: > Sidenote: I'm moving the database from the old format to the new one by repeatedly unpacking > the old database for snapshot X, git-add'ing any file names which have _never_ been in any snapshot > before, git-commit -a, git-tag, then remove all the files unpacked by the > old database and move onto snapshot X+1. This takes less than a second per snapshot. Not sure how large your snapshots are -- a second sounds like a long time for git operations. While it is a bit more complex, you _can_ operate directly on the index, and the "snapshot" never needs to hit the disk as such during your migration. Have a look at how the cvsimport script works for an example. cheers. martin