Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-05-02 02:24:15 +0400
committerJunio C Hamano <gitster@pobox.com>2013-05-02 02:24:15 +0400
commitc7e2be6e881e82bc877f2561ed5735defe4e37bd (patch)
tree2b710db2e48194dfe4c2ff876e97043675b59bc3 /perl
parentd9291ecf4f863479c69afc8074d1d260be9a7a95 (diff)
parenteafc2dd59f4d28d4a01deb24df588fd7a29990d8 (diff)
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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git.pm b/perl/Git.pm
index dc48159cca..7a252ef872 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");