diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 18:54:53 +0200 |
---|---|---|
committer | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 18:54:53 +0200 |
commit | 22dcbb75129b3124a9fd71ed449030b79093b634 (patch) | |
tree | 36d3970793ff0577931bc9dee6cc18e604757b97 /git-svnimport.perl | |
parent | 3ef378a67b5b39441837700ab4dfb800eb443c5a (diff) | |
download | git-22dcbb75129b3124a9fd71ed449030b79093b634.tar.gz |
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 <smurf@smurf.noris.de>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-x | git-svnimport.perl | 1 |
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]; } |