mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
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>
This commit is contained in:
parent
bed118d6bb
commit
67e4baf826
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue