diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-13 21:13:39 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-13 21:13:39 (GMT) |
commit | 092b6771c799d761a83317f68a467bef930686ad (patch) | |
tree | 0a13eea4871f627761829ead7609d6cdcdfb706e | |
parent | 7814e8a05a59c0cf5fb186661d1551c75d1299b5 (diff) | |
parent | 6103d58b7fa335b5f26281ad2c3c90de5680a0c4 (diff) | |
download | git-092b6771c799d761a83317f68a467bef930686ad.zip git-092b6771c799d761a83317f68a467bef930686ad.tar.gz git-092b6771c799d761a83317f68a467bef930686ad.tar.bz2 |
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 6483d79..0ae8bce 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; |