Skip to content

Commit 092b677

Browse files
committed
Merge branch 'bc/sha-256-cvs-svn-updates'
Portability fix. * bc/sha-256-cvs-svn-updates: git-cvsexportcommit: support Perl before 5.10.1
2 parents 7814e8a + 6103d58 commit 092b677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-cvsexportcommit.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
my $repo = Git->repository();
2323
$opt_w = $repo->config('cvsexportcommit.cvsdir') unless defined $opt_w;
2424

25-
my $tmpdir = File::Temp->newdir;
25+
my $tmpdir = File::Temp::tempdir(CLEANUP => 1);
2626
my $hash_algo = $repo->config('extensions.objectformat') || 'sha1';
2727
my $hexsz = $hash_algo eq 'sha256' ? 64 : 40;
2828

0 commit comments

Comments
 (0)