{"thread":{"id":"17155","subject":"[PATCH] Git.pm: call Error::Simple() properly","startedAt":"2009-01-13T22:41:35Z","lastAt":"2009-01-13T22:41:35Z","messageCount":1,"participants":["Jay Soffian"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"100334","messageId":"1231886495-92821-1-git-send-email-jaysoffian@gmail.com","threadId":"17155","inReplyTo":null,"subject":"[PATCH] Git.pm: call Error::Simple() properly","fromName":"Jay Soffian","fromEmail":"jaysoffian@gmail.com","sentAt":"2009-01-13T22:41:35Z","receivedAt":"2009-01-13T22:41:35Z","isPatch":true,"sender":{"key":"jaysoffian@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155970?v=4"},"body":"The error message to Error::Simple() must be passed as a single argument.\n\nSigned-off-by: Jay Soffian <jaysoffian@gmail.com>\n---\n perl/Git.pm |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/perl/Git.pm b/perl/Git.pm\nindex 8392a68..e9f8c9c 100644\n--- a/perl/Git.pm\n+++ b/perl/Git.pm\n@@ -1010,8 +1010,8 @@ sub _temp_cache {\n \tmy $temp_fd = \\$TEMP_FILEMAP{$name};\n \tif (defined $$temp_fd and $$temp_fd->opened) {\n \t\tif ($TEMP_FILES{$$temp_fd}{locked}) {\n-\t\t\tthrow Error::Simple(\"Temp file with moniker '\",\n-\t\t\t\t$name, \"' already in use\");\n+\t\t\tthrow Error::Simple(\"Temp file with moniker '\" .\n+\t\t\t\t$name . \"' already in use\");\n \t\t}\n \t} else {\n \t\tif (defined $$temp_fd) {\n-- \n1.6.1.77.g81ea1\n"}]}