Skip to content
Snippets Groups Projects
Commit 5e185901 authored by Tor Arntsen's avatar Tor Arntsen Committed by Daniel Stenberg
Browse files

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.
parent e1c38791
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment