summaryrefslogtreecommitdiff
path: root/t/t4200-rerere.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-08-06 00:16:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-06 00:32:39 (GMT)
commit6103d58b7fa335b5f26281ad2c3c90de5680a0c4 (patch)
tree08d7571e37e0aa9d95c2e190bcc8c84ce0d8bf65 /t/t4200-rerere.sh
parent6e9c4d408dfa842b22d612b7a6f1242bba2a5479 (diff)
downloadgit-6103d58b7fa335b5f26281ad2c3c90de5680a0c4.zip
git-6103d58b7fa335b5f26281ad2c3c90de5680a0c4.tar.gz
git-6103d58b7fa335b5f26281ad2c3c90de5680a0c4.tar.bz2
git-cvsexportcommit: support Perl before 5.10.1
The change in 6e9c4d408d ("git-cvsexportcommit: port to SHA-256", 2020-06-22) added the use of a temporary directory for the index. However, the form we used doesn't work in versions of Perl before 5.10.1. For example, version 5.10.0 contains a version of File::Temp from 2007 that doesn't contain "newdir". In order to make the code work with 5.8.8, which we support, let's change to use the static method "tempdir" with the argument "CLEANUP", which provides the same behavior. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4200-rerere.sh')
0 files changed, 0 insertions, 0 deletions