From 7a3c502e41f729be908a6fa7abd17e44812ce8d9 Mon Sep 17 00:00:00 2001
From: Tor Arntsen <tor@spacetec.no>
Date: Thu, 25 Mar 2010 16:43:01 +0100
Subject: [PATCH] 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.
---
 tests/testcurl.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 4d09909..6d9d694 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -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";
   }
 
-- 
1.5.0.3

