]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-cvsexportcommit.perl
Merge branch 'es/test-cmp-typocatcher'
[thirdparty/git.git] / git-cvsexportcommit.perl
index 6483d792d337f6c0c0aa1dc0074df230bff8f378..0ae8bce3fb0675ea206e962ef576d08d5d608ada 100755 (executable)
@@ -22,7 +22,7 @@ die "Need at least one commit identifier!" unless @ARGV;
 my $repo = Git->repository();
 $opt_w = $repo->config('cvsexportcommit.cvsdir') unless defined $opt_w;
 
-my $tmpdir = File::Temp->newdir;
+my $tmpdir = File::Temp::tempdir(CLEANUP => 1);
 my $hash_algo = $repo->config('extensions.objectformat') || 'sha1';
 my $hexsz = $hash_algo eq 'sha256' ? 64 : 40;