Perform git init and fast-import

This commit is contained in:
Vladimir Panteleev 2010-06-16 01:05:13 +03:00
parent 0f0c3a924d
commit df047aac4c
1 changed files with 5 additions and 0 deletions

View File

@ -43,5 +43,10 @@ int main(string[] args)
"\n";
}
write("fast-import-data", data);
if (!exists(".git"))
system("git init");
system("git fast-import < fast-import-data");
return 0;
}