summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-svnimport.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl
index b880297e0c..102fa6e339 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -296,6 +296,7 @@ sub get_file($$$) {
my $sha = <$F>;
chomp $sha;
close $F;
+ unlink $name;
my $mode = "0644"; # SV does not seem to store any file modes
return [$mode, $sha, $path];
}