From: Matthias Urlichs Date: Mon, 10 Oct 2005 16:54:53 +0000 (+0200) Subject: svn import: unlink downlaoded files X-Git-Tag: v0.99.9~112^2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=22dcbb75129b3124a9fd71ed449030b79093b634;p=git.git svn import: unlink downlaoded files Actually removing the files that have been checked out of SVN, after checking them into git of course, is a good idea... Signed-Off-By: Matthias Urlichs --- diff --git a/git-svnimport.perl b/git-svnimport.perl index b880297e0..102fa6e33 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]; }