* [PATCH] Git.pm: call Error::Simple() properly
@ 2009-01-13 22:41 Jay Soffian
0 siblings, 0 replies; only message in thread
From: Jay Soffian @ 2009-01-13 22:41 UTC (permalink / raw)
To: git; +Cc: Jay Soffian, Eric Wong, Junio C Hamano
The error message to Error::Simple() must be passed as a single argument.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
---
perl/Git.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/perl/Git.pm b/perl/Git.pm
index 8392a68..e9f8c9c 100644
--- a/perl/Git.pm
+++ b/perl/Git.pm
@@ -1010,8 +1010,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) {
--
1.6.1.77.g81ea1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-13 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 22:41 [PATCH] Git.pm: call Error::Simple() properly Jay Soffian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).