summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12dd111)
raw | patch | inline | side by side (parent: 12dd111)
author | Jay Soffian <jaysoffian@gmail.com> | |
Tue, 13 Jan 2009 22:41:35 +0000 (17:41 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Jan 2009 06:52:35 +0000 (22:52 -0800) |
The error message to Error::Simple() must be passed as a single argument.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm | patch | blob | history |
diff --git a/perl/Git.pm b/perl/Git.pm
index ba94453781c98a97a95c65999873fc28b013340d..29a17839f3564bb5518304569e592a738e78d8af 100644 (file)
--- a/perl/Git.pm
+++ b/perl/Git.pm
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) {