diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-13 14:13:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-13 14:13:39 -0700 |
commit | 092b6771c799d761a83317f68a467bef930686ad (patch) | |
tree | 0a13eea4871f627761829ead7609d6cdcdfb706e | |
parent | Sixth batch (diff) | |
parent | git-cvsexportcommit: support Perl before 5.10.1 (diff) | |
download | tgif-092b6771c799d761a83317f68a467bef930686ad.tar.xz |
Merge branch 'bc/sha-256-cvs-svn-updates'
Portability fix.
* bc/sha-256-cvs-svn-updates:
git-cvsexportcommit: support Perl before 5.10.1
-rwxr-xr-x | git-cvsexportcommit.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index 6483d792d3..0ae8bce3fb 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -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; |