diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:24:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:24:15 -0700 |
commit | c7e2be6e881e82bc877f2561ed5735defe4e37bd (patch) | |
tree | 2b710db2e48194dfe4c2ff876e97043675b59bc3 /perl | |
parent | d9291ecf4f863479c69afc8074d1d260be9a7a95 (diff) | |
parent | eafc2dd59f4d28d4a01deb24df588fd7a29990d8 (diff) | |
download | git-c7e2be6e881e82bc877f2561ed5735defe4e37bd.tar.gz git-c7e2be6e881e82bc877f2561ed5735defe4e37bd.tar.xz |
Merge branch 'hb/git-pm-tempfile'
* hb/git-pm-tempfile:
Git.pm: call tempfile from File::Temp as a regular function
Diffstat (limited to 'perl')
-rw-r--r-- | perl/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git.pm b/perl/Git.pm index dc48159cc..7a252ef87 100644 --- a/perl/Git.pm +++ b/perl/Git.pm @@ -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"); |