Code

gitweb: Protect against possible warning in git_commitdiff
authorJakub Narebski <jnareb@gmail.com>
Sat, 18 Nov 2006 22:35:38 +0000 (23:35 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 21 Nov 2006 22:35:40 +0000 (14:35 -0800)
commit04408c3578300ac7cc1b1530bbaec54de299b200
treeee3a83071002638b23ac16b874d1cfa1f5b0620d
parent69945602f95710f16ab4a5f8edfee38dc65555fa
gitweb: Protect against possible warning in git_commitdiff

We may read an undef from <$fd> and unconditionally chomping it
would result in a warning.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl