Avoid double newline for the 'last commits' log in testcurl.pl

The backtick command which extracts 'git log' lines come with a
newline, so chomp the newline before calling logit(), as the logit
function adds a newline by itself.
This commit is contained in:
Tor Arntsen 2010-03-25 16:43:01 +01:00 committed by Daniel Stenberg
parent e1c38791b7
commit 5e1859014b

View File

@ -407,6 +407,7 @@ if ($git) {
my @commits=`git log --pretty=oneline --abbrev-commit -5`;
logit "The most recent git commits:";
for my $l (@commits) {
chomp ($l);
logit " $l";
}