mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue