Don't delete the git-fast-import file afterwards
This lets the user import it into another VCS which supports git-fast-import
This commit is contained in:
parent
3c31925bc7
commit
4cbc5ba891
2
wp2git.d
2
wp2git.d
|
@ -55,7 +55,7 @@ int main(string[] args)
|
||||||
|
|
||||||
system("git init");
|
system("git init");
|
||||||
system("git fast-import --date-format=rfc2822 < fast-import-data");
|
system("git fast-import --date-format=rfc2822 < fast-import-data");
|
||||||
std.file.remove("fast-import-data");
|
// std.file.remove("fast-import-data");
|
||||||
system("git reset --hard");
|
system("git reset --hard");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue