提交 67e4baf8 编写于 作者: A Alex Riesen 提交者: Junio C Hamano

Cleanup uninitialized value in chomp

which happens if you use ActiveState Perl and a
pipe workaround specially for it.
Signed-off-by: NAlex Riesen <raa.lkml@gmail.com>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 bed118d6
......@@ -275,7 +275,7 @@ sub command {
} else {
my @lines = <$fh>;
chomp @lines;
defined and chomp for @lines;
try {
_cmd_close($fh, $ctx);
} catch Git::Error::Command with {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册