Skip to content

Commit

Permalink
Merge branch 'hb/git-pm-tempfile'
Browse files Browse the repository at this point in the history
* hb/git-pm-tempfile:
  Git.pm: call tempfile from File::Temp as a regular function
  • Loading branch information
Junio C Hamano committed May 1, 2013
2 parents d9291ec + eafc2dd commit c7e2be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/Git.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit c7e2be6

Please sign in to comment.