"Horst H. von Brand" wrote: > Hum... something like the following (completely untested!) should do the > trick: > > cd /basedir > mkdir codebase; cd codebase; git init-db > for version in 1.0 1.1 1.1a 1.1b 2.0.0 ...; do > cd /basedir > tar xf tarball-$version.tar > mv codebase-$version/* codebase # Take care to move everything! > cd codebase > git add . > git commit -a -m "Updated to $version" > rm -rf * # Delete everything except for git stuff > done You can let GIT_DIR point somewhere outside the extracted directory. If the dates of your tarballs are meaningful, you can use something like this: export GIT_AUTHOR_DATE="$(date --reference=foo-1.1.tar +%s) -07:00" -- Hannes - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html