projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed118d
)
Cleanup uninitialized value in chomp
author
Alex Riesen
<raa.lkml@gmail.com>
Mon, 22 Jan 2007 14:58:03 +0000
(15:58 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 22 Jan 2007 17:44:26 +0000
(09:44 -0800)
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>
perl/Git.pm
patch
|
blob
|
history
diff --git
a/perl/Git.pm
b/perl/Git.pm
index 2f6b59a43be3f2054934b1ec80031832e990fffb..c1729bafd20d38d56b3178356e50c72b2822f83c 100644
(file)
--- a/
perl/Git.pm
+++ b/
perl/Git.pm
@@
-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 {