]> asedeno.scripts.mit.edu Git - git.git/blobdiff - contrib/examples/git-svnimport.perl
Merge branch 'dm/mergetool-vimdiff'
[git.git] / contrib / examples / git-svnimport.perl
index 4576c4a862c8ea0565a67eccdae6ef1ac4d9af9a..6c4cab363361e0e87111984c3803f7ee29526c3d 100755 (executable)
@@ -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;