{"thread":{"id":"6475","subject":"[RESEND PATCH 3/3] Cleanup uninitialized value in chomp","startedAt":"2007-01-22T17:13:09Z","lastAt":"2007-01-22T17:13:09Z","messageCount":1,"participants":["Alex Riesen"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"32312","messageId":"81b0412b0701220913k381ce400sd317f103064406f5@mail.gmail.com","threadId":"6475","inReplyTo":null,"subject":"[RESEND PATCH 3/3] Cleanup uninitialized value in chomp","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-01-22T17:13:09Z","receivedAt":"2007-01-22T17:13:09Z","isPatch":true,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"which happens if you use ActiveState Perl and a\npipe workaround specially for it.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n---\n perl/Git.pm |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n\nFrom d8fbca783d727aff0c7078330b7ec3d0894e9093 Mon Sep 17 00:00:00 2001\nFrom: Alex Riesen <raa.lkml@gmail.com>\nDate: Mon, 22 Jan 2007 15:58:03 +0100\nSubject: [PATCH 3/3] Cleanup uninitialized value in chomp\n\nwhich happens if you use ActiveState Perl and a\npipe workaround specially for it.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n---\n perl/Git.pm |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/perl/Git.pm b/perl/Git.pm\nindex 2f6b59a..c1729ba 100644\n--- a/perl/Git.pm\n+++ b/perl/Git.pm\n@@ -275,7 +275,7 @@ sub command {\n \n \t} else {\n \t\tmy @lines = <$fh>;\n-\t\tchomp @lines;\n+\t\tdefined and chomp for @lines;\n \t\ttry {\n \t\t\t_cmd_close($fh, $ctx);\n \t\t} catch Git::Error::Command with {\n-- \n1.5.0.rc2.g3f1a\n\n"}]}