commit | 67e4baf82679e6362d950f6a80a9a261cf266555 | [log] [tgz] |
---|---|---|
author | Alex Riesen <raa.lkml@gmail.com> | Mon Jan 22 15:58:03 2007 +0100 |
committer | Junio C Hamano <junkio@cox.net> | Mon Jan 22 09:44:26 2007 -0800 |
tree | 8e9a2d73faad7d93d5f748c4b293bd6e57f6b386 | |
parent | bed118d6bb6dee92180469466dfa265265678dd4 [diff] [blame] |
Cleanup uninitialized value in chomp which happens if you use ActiveState Perl and a pipe workaround specially for it. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
diff --git a/perl/Git.pm b/perl/Git.pm index 2f6b59a..c1729ba 100644 --- a/perl/Git.pm +++ b/perl/Git.pm
@@ -275,7 +275,7 @@ } else { my @lines = <$fh>; - chomp @lines; + defined and chomp for @lines; try { _cmd_close($fh, $ctx); } catch Git::Error::Command with {