diff options
author | Tor Arntsen <tor@spacetec.no> | 2010-03-25 16:43:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-03-25 18:28:35 +0100 |
commit | 5e1859014baf5a70331cf66018039ee1dc5cb834 (patch) | |
tree | 5d617b39bee1592f4f5d917130c83c5545530922 /tests | |
parent | e1c38791b79097259e2f93d19968340fd08573a2 (diff) |
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.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/testcurl.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 4d099095b..6d9d694ca 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"; } |