Git.pm: Use File::Temp->tempfile instead of ->new
authorMarcus Griep <marcus@griep.us>
Mon, 8 Sep 2008 16:53:01 +0000 (12:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Sep 2008 18:45:22 +0000 (11:45 -0700)
Perl 5.8.0 ships with File::Temp 0.13, which does not have the new()
interface introduced in 0.14, as pointed out by Tom G. Christensen.

This modifies Git.pm to use the more established tempfile() interface
and updates 'git svn' to match.

Signed-off-by: Marcus Griep <marcus@griep.us>
Acked-by: Eric Wong <normalperson@yhbt.net>
Tested-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found