Merge branch 'hb/git-pm-tempfile'
* hb/git-pm-tempfile: Git.pm: call tempfile from File::Temp as a regular function
This commit is contained in:
commit
c7e2be6e88
@ -1265,7 +1265,7 @@ sub _temp_cache {
|
||||
$tmpdir = $self->repo_path();
|
||||
}
|
||||
|
||||
($$temp_fd, $fname) = File::Temp->tempfile(
|
||||
($$temp_fd, $fname) = File::Temp::tempfile(
|
||||
'Git_XXXXXX', UNLINK => 1, DIR => $tmpdir,
|
||||
) or throw Error::Simple("couldn't open new temp file");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user