From: Jay Soffian Date: Tue, 13 Jan 2009 22:41:35 +0000 (-0500) Subject: Git.pm: call Error::Simple() properly X-Git-Tag: v1.6.1.1~10^2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8faea4f3b2f68a6ef168c6ada1627835380a570d;p=git.git Git.pm: call Error::Simple() properly The error message to Error::Simple() must be passed as a single argument. Signed-off-by: Jay Soffian Signed-off-by: Junio C Hamano --- diff --git a/perl/Git.pm b/perl/Git.pm index ba9445378..29a17839f 100644 --- a/perl/Git.pm +++ b/perl/Git.pm @@ -1012,8 +1012,8 @@ sub _temp_cache { my $temp_fd = \$TEMP_FILEMAP{$name}; if (defined $$temp_fd and $$temp_fd->opened) { if ($TEMP_FILES{$$temp_fd}{locked}) { - throw Error::Simple("Temp file with moniker '", - $name, "' already in use"); + throw Error::Simple("Temp file with moniker '" . + $name . "' already in use"); } } else { if (defined $$temp_fd) {