X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-svnimport.perl;h=b09ff8f12f7e5b5b6faeaf857d7c61973de8590e;hb=0b0cd0e0a29a139f418991dd769ea4266ffec370;hp=ead4c04d3f7ca64ed55ff605d7ee8087189a2226;hpb=3328acedc6104e3d46e8f0d26006d9650092ef3e;p=git.git diff --git a/contrib/examples/git-svnimport.perl b/contrib/examples/git-svnimport.perl index ead4c04d3..b09ff8f12 100755 --- a/contrib/examples/git-svnimport.perl +++ b/contrib/examples/git-svnimport.perl @@ -289,7 +289,7 @@ my $current_rev = $opt_s || 1; unless(-d $git_dir) { system("git init"); die "Cannot init the GIT db at $git_tree: $?\n" if $?; - system("git read-tree"); + system("git read-tree --empty"); die "Cannot init an empty tree: $?\n" if $?; $last_branch = $opt_o;